mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Add NameGeneratorInterface and generators for v3 and v5 UUIDs
This commit is contained in:
@@ -12,7 +12,7 @@ class RandomGeneratorFactoryTest extends TestCase
|
||||
{
|
||||
public function testFactoryReturnsRandomBytesGenerator(): void
|
||||
{
|
||||
$generator = RandomGeneratorFactory::getGenerator();
|
||||
$generator = (new RandomGeneratorFactory)->getGenerator();
|
||||
|
||||
$this->assertInstanceOf(RandomBytesGenerator::class, $generator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user