@@ -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( |
@@ -133,7 +133,7 @@ |
||
133 | 133 | $guessableData = array_merge($guessableData, $password->getGuessableData()); |
134 | 134 | } |
135 | 135 | |
136 | - foreach ($this->getFormattedWords((string)$password) as $word) { |
|
136 | + foreach ($this->getFormattedWords((string) $password) as $word) { |
|
137 | 137 | foreach ($guessableData as $data) { |
138 | 138 | if ($this->contains($word, $data)) { |
139 | 139 | return $data; |