@@ -136,7 +136,7 @@ discard block |
||
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 |
||
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', |
@@ -72,7 +72,7 @@ |
||
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; |