We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc375a commit e09cb7fCopy full SHA for e09cb7f
src/Generator/ResetPasswordRandomGenerator.php
@@ -28,6 +28,7 @@ public function getRandomAlphaNumStr(): string
28
$string = '';
29
30
while (($len = \strlen($string)) < 20) {
31
+ /** @var int<1, max> $size */
32
$size = 20 - $len;
33
34
$bytes = random_bytes($size);
0 commit comments