Passed
Pull Request — master (#223)
by Jason
02:37
created
src/Page/LocationPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.