@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | return true; |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | - $word = $this->getDictionaryWord((string)$password); |
|
| 110 | + $word = $this->getDictionaryWord((string) $password); |
|
| 111 | 111 | |
| 112 | 112 | return $word === null; |
| 113 | 113 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | */ |
| 118 | 118 | public function enforce($password): void |
| 119 | 119 | { |
| 120 | - $word = $this->getDictionaryWord((string)$password); |
|
| 120 | + $word = $this->getDictionaryWord((string) $password); |
|
| 121 | 121 | |
| 122 | 122 | if ($word !== null) { |
| 123 | 123 | throw new RuleException($this, $this->weight, $this->getMessage($word)); |