Passed
Pull Request — master (#210)
by Jason
02:49
created
src/bulkloader/LocationCsvBulkLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getEscape($val)
39 39
     {
40
-        return preg_replace( "/\r|\n/", "", $val );
40
+        return preg_replace("/\r|\n/", "", $val);
41 41
     }
42 42
 
43 43
     /**
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $val = $this->getEscape($val);
73 73
         $countries = IntlLocales::singleton()->getCountries();
74 74
 
75
-        if (strlen((string)$val) == 2) {
75
+        if (strlen((string) $val) == 2) {
76 76
             $val = strtolower($val);
77 77
             if (array_key_exists($val, $countries)) {
78 78
                 $obj->Country = $val;
Please login to merge, or discard this patch.