@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function getCMSFields() |
86 | 86 | { |
87 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
87 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
88 | 88 | $fields->dataFieldByName('Content') |
89 | 89 | ->setTitle('Description') |
90 | 90 | ->setRows(5); |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } else { |
131 | 131 | $label = ' promos'; |
132 | 132 | } |
133 | - return DBField::create_field('HTMLText', $this->Promos()->count() . $label)->Summary(20); |
|
133 | + return DBField::create_field('HTMLText', $this->Promos()->count().$label)->Summary(20); |
|
134 | 134 | } |
135 | 135 | |
136 | 136 | /** |