Passed
Pull Request — 1.x (#57)
by
unknown
03:23
created
src/Utils/CountryPhoneCallback.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,17 +31,17 @@
 block discarded – undo
31 31
      */
32 32
     public function callPhoneValidator(): array
33 33
     {
34
-        $results = [];
34
+        $results = [ ];
35 35
 
36 36
         $codes = explode(',', $this->code);
37 37
 
38 38
         $codes = array_map('strtoupper', $codes);
39 39
 
40 40
         foreach ($codes as $code) {
41
-            $methodName = 'validate' . $code;
41
+            $methodName = 'validate'.$code;
42 42
 
43 43
             if (method_exists($this, $methodName)) {
44
-                $results[$code] = $this->{$methodName}();
44
+                $results[ $code ] = $this->{$methodName}();
45 45
             } else {
46 46
                 throw new \BadMethodCallException("Validator method '{$methodName}' does not exist.");
47 47
             }
Please login to merge, or discard this patch.