@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | */ |
200 | 200 | public function getCMSFields() |
201 | 201 | { |
202 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
202 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
203 | 203 | $fields->addFieldsToTab( |
204 | 204 | 'Root.Main', |
205 | 205 | [ |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | $url = $this->Website; |
304 | 304 | |
305 | 305 | if ($url && !preg_match('/^(http|https):\/\//', $url)) { |
306 | - $url = 'http://' . $url; |
|
306 | + $url = 'http://'.$url; |
|
307 | 307 | } |
308 | 308 | |
309 | 309 | $this->extend('updateWebsiteURL', $url); |