Passed
Pull Request — master (#210)
by Jason
03:12
created
src/objects/Location.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function getCategoryList()
138 138
     {
139
-        if($this->Categories()->count()) {
139
+        if ($this->Categories()->count()) {
140 140
             return implode(', ', $this->Categories()->column('Name'));
141 141
         }
142 142
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      */
177 177
     public function getCMSFields()
178 178
     {
179
-        $this->beforeUpdateCMSFields(function ($fields) {
179
+        $this->beforeUpdateCMSFields(function($fields) {
180 180
             $fields->removeByName(array(
181 181
                 'Import_ID',
182 182
                 'LinkTracking',
Please login to merge, or discard this patch.
src/bulkloader/LocationCsvBulkLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 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.