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.
2 parents bbc375a + e09cb7f commit 0712748Copy full SHA for 0712748
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