@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function callPhoneValidator(): array |
31 | 31 | { |
32 | - $results = []; |
|
32 | + $results = [ ]; |
|
33 | 33 | |
34 | 34 | $codes = explode(',', $this->code); |
35 | 35 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $methodName = 'validate'.$code; |
40 | 40 | |
41 | 41 | if (method_exists($this, $methodName)) { |
42 | - $results[$code] = $this->{$methodName}(); |
|
42 | + $results[ $code ] = $this->{$methodName}(); |
|
43 | 43 | } else { |
44 | 44 | throw new \BadMethodCallException("Validator method '{$methodName}' does not exist."); |
45 | 45 | } |