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