Completed
Push — dev-v3 ( 83f78b...18104f )
by Propa
06:31
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
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         $leftovers = array_diff_key($leftovers, $inputCountry ? [] : $countries);
120 120
         $leftovers = array_diff($leftovers, ['AUTO', 'LENIENT', $inputField]);
121 121
 
122
-        if (! empty($leftovers)) {
122
+        if (!empty($leftovers)) {
123 123
             throw InvalidParameterException::parameters($leftovers);
124 124
         }
125 125
 
Please login to merge, or discard this patch.