Completed
Push — master ( dc83bf...a291e8 )
by Propa
07:27
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
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         // Invalid country field values should just validate to false, so exclude from leftovers.
129 129
         $leftovers = array_diff($leftovers, [$inputCountry]);
130 130
 
131
-        if (! empty($leftovers)) {
131
+        if (!empty($leftovers)) {
132 132
             throw InvalidParameterException::parameters($leftovers);
133 133
         }
134 134
 
Please login to merge, or discard this patch.