mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Require phpstan and correct issues found up to level 2
* issues found by phpstan L0 * issues found by phpstan L1 * issues found by phpstan L2 in src/ * issues found by phpstan L2 in tests/
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Ramsey\Uuid\Test\Codec;
|
||||
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Ramsey\Uuid\Builder\UuidBuilderInterface;
|
||||
use Ramsey\Uuid\Codec\OrderedTimeCodec;
|
||||
use Ramsey\Uuid\Test\TestCase;
|
||||
@@ -15,14 +16,18 @@ use Ramsey\Uuid\UuidInterface;
|
||||
class OrderedTimeCodecTest extends TestCase
|
||||
{
|
||||
|
||||
/** @var UuidBuilderInterface */
|
||||
/** @var UuidBuilderInterface&MockObject */
|
||||
private $builder;
|
||||
/** @var UuidInterface */
|
||||
|
||||
/** @var UuidInterface&MockObject */
|
||||
private $uuid;
|
||||
|
||||
/** @var array */
|
||||
private $fields;
|
||||
|
||||
/** @var string */
|
||||
private $uuidString = '58e0a7d7-eebc-11d8-9669-0800200c9a66';
|
||||
|
||||
/** @var string */
|
||||
private $optimizedHex = '11d8eebc58e0a7d796690800200c9a66';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user