Skip to content

Commit 0712748

Browse files
authored
Merge pull request #208 from bocharsky-bw/fix-psalm
[ci] Fix Psalm: Specify var type explicitly
2 parents bbc375a + e09cb7f commit 0712748

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generator/ResetPasswordRandomGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function getRandomAlphaNumStr(): string
2828
$string = '';
2929

3030
while (($len = \strlen($string)) < 20) {
31+
/** @var int<1, max> $size */
3132
$size = 20 - $len;
3233

3334
$bytes = random_bytes($size);

0 commit comments

Comments
 (0)