Completed
Push — master ( b59422...48584e )
by Propa
08:40
created
src/Validation/Phone.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 $phoneNumber = PhoneNumber::make($value, $country);
61 61
 
62 62
                 // Type validation.
63
-                if (! empty($types) && ! $phoneNumber->isOfType($types)) {
63
+                if (!empty($types) && !$phoneNumber->isOfType($types)) {
64 64
                     continue;
65 65
                 }
66 66
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         $leftovers = array_diff_key($parameters, $types, $countries);
121 121
         $leftovers = array_diff($leftovers, ['AUTO', 'LENIENT', $inputField]);
122 122
 
123
-        if (! empty($leftovers)) {
123
+        if (!empty($leftovers)) {
124 124
             throw InvalidParameterException::parameters($leftovers);
125 125
         }
126 126
 
Please login to merge, or discard this patch.