@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | */ |
| 197 | 197 | public function callPhoneValidator(): array |
| 198 | 198 | { |
| 199 | - $results = []; |
|
| 199 | + $results = [ ]; |
|
| 200 | 200 | $codes = explode(',', $this->code); |
| 201 | 201 | $codes = array_map('strtoupper', $codes); |
| 202 | 202 | |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | $methodName = 'validate'.$code; |
| 205 | 205 | |
| 206 | 206 | if (method_exists($this, $methodName)) { |
| 207 | - $results[$code] = $this->{$methodName}(); |
|
| 207 | + $results[ $code ] = $this->{$methodName}(); |
|
| 208 | 208 | } else { |
| 209 | 209 | throw new \BadMethodCallException("Validator method '{$methodName}' does not exist."); |
| 210 | 210 | } |