diff --git a/src/Generator/PeclUuidRandomGenerator.php b/src/Generator/PeclUuidRandomGenerator.php index 51fda0f..df750f6 100644 --- a/src/Generator/PeclUuidRandomGenerator.php +++ b/src/Generator/PeclUuidRandomGenerator.php @@ -14,6 +14,8 @@ declare(strict_types=1); namespace Ramsey\Uuid\Generator; +use const UUID_TYPE_RANDOM; + /** * PeclUuidRandomGenerator generates strings of random binary data using ext-uuid * diff --git a/src/Generator/PeclUuidTimeGenerator.php b/src/Generator/PeclUuidTimeGenerator.php index 1b569c6..903798d 100644 --- a/src/Generator/PeclUuidTimeGenerator.php +++ b/src/Generator/PeclUuidTimeGenerator.php @@ -14,6 +14,8 @@ declare(strict_types=1); namespace Ramsey\Uuid\Generator; +use const UUID_TYPE_TIME; + /** * PeclUuidTimeGenerator generates strings of binary data for time-base UUIDs, * using ext-uuid diff --git a/tests/Generator/PeclUuidRandomGeneratorTest.php b/tests/Generator/PeclUuidRandomGeneratorTest.php index ab89aa7..3a8e133 100644 --- a/tests/Generator/PeclUuidRandomGeneratorTest.php +++ b/tests/Generator/PeclUuidRandomGeneratorTest.php @@ -7,6 +7,8 @@ namespace Ramsey\Uuid\Test\Generator; use AspectMock\Test as AspectMock; use Ramsey\Uuid\Generator\PeclUuidRandomGenerator; +use const UUID_TYPE_RANDOM; + class PeclUuidRandomGeneratorTest extends PeclUuidTestCase { /** diff --git a/tests/Generator/PeclUuidTimeGeneratorTest.php b/tests/Generator/PeclUuidTimeGeneratorTest.php index 924c964..61fe8ac 100644 --- a/tests/Generator/PeclUuidTimeGeneratorTest.php +++ b/tests/Generator/PeclUuidTimeGeneratorTest.php @@ -7,6 +7,8 @@ namespace Ramsey\Uuid\Test\Generator; use AspectMock\Test as AspectMock; use Ramsey\Uuid\Generator\PeclUuidTimeGenerator; +use const UUID_TYPE_TIME; + class PeclUuidTimeGeneratorTest extends PeclUuidTestCase { /**