mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
feat: narrow the clock sequence type hints
This commit is contained in:
@@ -225,6 +225,7 @@ class DceSecurityGeneratorTest extends TestCase
|
||||
'Clock sequence out of bounds; it must be a value between 0 and 63'
|
||||
);
|
||||
|
||||
// @phpstan-ignore-next-line
|
||||
$dceSecurityGenerator->generate(Uuid::DCE_DOMAIN_ORG, null, null, -1);
|
||||
}
|
||||
|
||||
@@ -241,6 +242,7 @@ class DceSecurityGeneratorTest extends TestCase
|
||||
'Clock sequence out of bounds; it must be a value between 0 and 63'
|
||||
);
|
||||
|
||||
// @phpstan-ignore-next-line
|
||||
$dceSecurityGenerator->generate(Uuid::DCE_DOMAIN_ORG, null, null, 64);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user