@@ -29,7 +29,7 @@ |
||
| 29 | 29 | public function testGetSummary() |
| 30 | 30 | { |
| 31 | 31 | $object = $this->objFromFixture(ElementSlideshow::class, 'one'); |
| 32 | - $result = $object->Slides()->count() . ' slide'; |
|
| 32 | + $result = $object->Slides()->count().' slide'; |
|
| 33 | 33 | $this->assertEquals($object->getSummary(), $result); |
| 34 | 34 | } |
| 35 | 35 | |
@@ -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(5) |
| 66 | 66 | ->setTitle('Description') |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | } else { |
| 81 | 81 | $slide = ' slides'; |
| 82 | 82 | } |
| 83 | - return DBField::create_field('HTMLText', $this->Slides()->count() . $slide)->Summary(20); |
|
| 83 | + return DBField::create_field('HTMLText', $this->Slides()->count().$slide)->Summary(20); |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | protected function provideBlockSchema() |
| 90 | 90 | { |
| 91 | 91 | $blockSchema = parent::provideBlockSchema(); |
| 92 | - $blockSchema['content'] = $this->getSummary(); |
|
| 92 | + $blockSchema[ 'content' ] = $this->getSummary(); |
|
| 93 | 93 | return $blockSchema; |
| 94 | 94 | } |
| 95 | 95 | |