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
+1
View File
@@ -124,6 +124,7 @@ class DceSecurityGenerator implements DceSecurityGeneratorInterface
// Shift the clock sequence 8 bits to the left, so it matches 0x3f00.
if ($clockSeq !== null) {
/** @var int<0, 16383> $clockSeq */
$clockSeq = $clockSeq << 8;
}