@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | public function test($password): bool |
| 105 | 105 | { |
| 106 | - $word = $this->getDictionaryWord((string)$password); |
|
| 106 | + $word = $this->getDictionaryWord((string) $password); |
|
| 107 | 107 | |
| 108 | 108 | return $word === null; |
| 109 | 109 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | */ |
| 114 | 114 | public function enforce($password): void |
| 115 | 115 | { |
| 116 | - $word = $this->getDictionaryWord((string)$password); |
|
| 116 | + $word = $this->getDictionaryWord((string) $password); |
|
| 117 | 117 | |
| 118 | 118 | if ($word !== null) { |
| 119 | 119 | throw new RuleException($this, $this->getMessage($word)); |