Skip to content

Commit e09cb7f

Browse files
committed
Fix Psalm: Specify var type explicitly
1 parent bbc375a commit e09cb7f

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)