@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | |
| 156 | 156 | $hasher = $this->passwordHasher; |
| 157 | 157 | $hashedPassword = $data[$passwordField]; |
| 158 | - if (!$hasher->check((string)$password, $hashedPassword)) { |
|
| 158 | + if (!$hasher->check((string) $password, $hashedPassword)) { |
|
| 159 | 159 | return false; |
| 160 | 160 | } |
| 161 | 161 | |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | $fields = $this->credentialFields[self::CREDENTIAL_USERNAME]; |
| 186 | 186 | |
| 187 | 187 | $conditions = []; |
| 188 | - foreach ((array)$fields as $field) { |
|
| 188 | + foreach ((array) $fields as $field) { |
|
| 189 | 189 | $conditions[$field] = $identifier; |
| 190 | 190 | } |
| 191 | 191 | |