feat: narrow the clock sequence type hints

This commit is contained in:
Ben Ramsey
2022-08-13 10:43:35 -05:00
parent 9af16ab8ad
commit 483b9c9de0
10 changed files with 48 additions and 33 deletions
@@ -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);
}