mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-26 17:46:38 +03:00
Use ::class constants where possible
It helps with refactorings and static analysis, because you can easily tell if the class is missing or not.
This commit is contained in:
@@ -29,8 +29,8 @@ class OrderedTimeCodecTest extends TestCase
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock();
|
||||
$this->uuid = $this->getMockBuilder('Ramsey\Uuid\UuidInterface')->getMock();
|
||||
$this->builder = $this->getMockBuilder(UuidBuilderInterface::class)->getMock();
|
||||
$this->uuid = $this->getMockBuilder(UuidInterface::class)->getMock();
|
||||
$this->fields = ['time_low' => '58e0a7d7',
|
||||
'time_mid' => 'eebc',
|
||||
'time_hi_and_version' => '11d8',
|
||||
|
||||
Reference in New Issue
Block a user