Skip to content

Commit 67a8389

Browse files
committed
Add type hinting to func arg
1 parent f26f388 commit 67a8389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Generator/PasswordTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testPasswordWithoutSpecialCharacters(): void
5252
$this->assertFalse($this->doesContainSpecialChars($password));
5353
}
5454

55-
private function doesContainSpecialChars($password): bool
55+
private function doesContainSpecialChars(string $password): bool
5656
{
5757
$specialChars = ['-', '_', '~', '|', '%', '^', '!', '$', '#', '@', '?'];
5858

0 commit comments

Comments
 (0)