@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public function getCMSFields() |
62 | 62 | { |
63 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
63 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
64 | 64 | $fields->dataFieldByName('Content') |
65 | 65 | ->setRows(8) |
66 | 66 | ->setTitle('Description'); |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | } else { |
80 | 80 | $slide = ' slides'; |
81 | 81 | } |
82 | - return DBField::create_field('HTMLText', $this->Slides()->count() . $slide)->Summary(20); |
|
82 | + return DBField::create_field('HTMLText', $this->Slides()->count().$slide)->Summary(20); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | protected function provideBlockSchema() |
89 | 89 | { |
90 | 90 | $blockSchema = parent::provideBlockSchema(); |
91 | - $blockSchema['content'] = $this->getSummary(); |
|
91 | + $blockSchema[ 'content' ] = $this->getSummary(); |
|
92 | 92 | return $blockSchema; |
93 | 93 | } |
94 | 94 |