Skip to content

Commit

Permalink
Add type hinting to func arg
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Sep 30, 2021
1 parent f26f388 commit 67a8389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/Generator/PasswordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testPasswordWithoutSpecialCharacters(): void
$this->assertFalse($this->doesContainSpecialChars($password));
}

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

Expand Down

0 comments on commit 67a8389

Please sign in to comment.