@@ -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 | /** |