@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getCMSFields() |
59 | 59 | { |
60 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
60 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
61 | 61 | if ($this->ID) { |
62 | 62 | $field = $fields->dataFieldByName('Files'); |
63 | 63 | $fields->removeByName('Files'); |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } else { |
96 | 96 | $label = ' files'; |
97 | 97 | } |
98 | - return DBField::create_field('HTMLText', $this->Files()->count() . $label)->Summary(20); |
|
98 | + return DBField::create_field('HTMLText', $this->Files()->count().$label)->Summary(20); |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |