Skip to content

Commit 83e0591

Browse files
authored
Merge pull request #7 from lemmon/main
Fix Invalid Range Definition
2 parents baad772 + ef27985 commit 83e0591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Password.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static function generate(int $length = self::DEFAULT_LENGTH, bool $specia
2121
$keys = array_merge(
2222
range(0, 9),
2323
range('a', 'z'),
24-
range('Z', 'Z'),
24+
range('A', 'Z'),
2525
$specialCharacters ? self::SPECIAL_CHARACTERS : []
2626
);
2727
$endKeysIndex = count($keys) - 1;

0 commit comments

Comments
 (0)