@@ -85,7 +85,7 @@ |
||
85 | 85 | */ |
86 | 86 | public function getCMSFields() |
87 | 87 | { |
88 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
88 | + $this->beforeUpdateCMSFields(function($fields) { |
|
89 | 89 | /** @var FieldList $fields */ |
90 | 90 | $fields->removeByName([ |
91 | 91 | 'Sort', |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | */ |
76 | 76 | public function getCMSFields() |
77 | 77 | { |
78 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
78 | + $this->beforeUpdateCMSFields(function($fields) { |
|
79 | 79 | /* @var FieldList $fields */ |
80 | 80 | $fields->removeByName(array( |
81 | 81 | 'Sort', |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | } else { |
110 | 110 | $label = ' panels'; |
111 | 111 | } |
112 | - return DBField::create_field('HTMLText', $this->Panels()->count() . $label)->Summary(20); |
|
112 | + return DBField::create_field('HTMLText', $this->Panels()->count().$label)->Summary(20); |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |