@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | return true; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | - $word = $this->getDictionaryWord((string)$password); |
|
| 111 | + $word = $this->getDictionaryWord((string) $password); |
|
| 112 | 112 | |
| 113 | 113 | return $word === null; |
| 114 | 114 | } |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | public function validate($password): ?ValidationError |
| 120 | 120 | { |
| 121 | - $word = $this->getDictionaryWord((string)$password); |
|
| 121 | + $word = $this->getDictionaryWord((string) $password); |
|
| 122 | 122 | |
| 123 | 123 | if ($word !== null) { |
| 124 | 124 | return new ValidationError( |