@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | ); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - public function shouldBeRehashed(int $algorithm = PASSWORD_DEFAULT, array $options = []) : bool |
|
| 57 | + public function shouldBeRehashed(int $algorithm = PASSWORD_DEFAULT, array $options = [ ]) : bool |
|
| 58 | 58 | { |
| 59 | 59 | if (null === $this->hash) { |
| 60 | 60 | return true; |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | return password_needs_rehash($this->hash, $algorithm, $options); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - public function getNewHash(int $algorithm = PASSWORD_DEFAULT, array $options = []) : string |
|
| 66 | + public function getNewHash(int $algorithm = PASSWORD_DEFAULT, array $options = [ ]) : string |
|
| 67 | 67 | { |
| 68 | 68 | return password_hash($this->getPasswordInPlainText(), $algorithm, $options); |
| 69 | 69 | } |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | { |
| 104 | 104 | throw PasswordException::getSleepException(); |
| 105 | 105 | |
| 106 | - return []; |
|
| 106 | + return [ ]; |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |