Completed
Push — master ( c469e9...bcf8fa )
by
unknown
03:30
created
src/Geography/Address/ByCountry/Us/ZipCode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
         $characters = StringUtils::countCharacters($changedValue);
20 20
 
21 21
         if ($characters == 4) {
22
-            $value = '0' . $value;
22
+            $value = '0'.$value;
23 23
             $characters++;
24 24
         }
25 25
 
26
-        if (empty($value) || $characters !=5 && $characters != 9) {
26
+        if (empty($value) || $characters != 5 && $characters != 9) {
27 27
             throw new \InvalidArgumentException(sprintf('The value "%s" is not a valid postal code.', $value));
28 28
         }
29 29
 
Please login to merge, or discard this patch.