@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function getCMSFields() |
| 44 | 44 | { |
| 45 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 45 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 46 | 46 | $fields->removeByName('ElementPromos'); |
| 47 | 47 | |
| 48 | 48 | $config = GridFieldConfig_RecordViewer::create(); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | public function getCMSFields() |
| 81 | 81 | { |
| 82 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 82 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 83 | 83 | $fields->dataFieldByName('Content') |
| 84 | 84 | ->setRows(8); |
| 85 | 85 | |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | } else { |
| 124 | 124 | $label = ' promos'; |
| 125 | 125 | } |
| 126 | - return DBField::create_field('HTMLText', $this->Promos()->count() . $label)->Summary(20); |
|
| 126 | + return DBField::create_field('HTMLText', $this->Promos()->count().$label)->Summary(20); |
|
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |