@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | public function getCMSFields() |
69 | 69 | { |
70 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
70 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
71 | 71 | $fields->dataFieldByName('Content') |
72 | 72 | ->setRows(8); |
73 | 73 | $fields->dataFieldByName('Alternate')->setTitle('Alternate images and text'); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } else { |
104 | 104 | $feature = 'features'; |
105 | 105 | } |
106 | - return DBField::create_field('HTMLText', $this->Features()->count() . ' ' . $feature)->Summary(20); |
|
106 | + return DBField::create_field('HTMLText', $this->Features()->count().' '.$feature)->Summary(20); |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -40,7 +40,7 @@ |
||
40 | 40 | public function testGetSummary() |
41 | 41 | { |
42 | 42 | $object = $this->objFromFixture(ElementFeatures::class, 'one'); |
43 | - $result = $object->Features()->count() . ' feature'; |
|
43 | + $result = $object->Features()->count().' feature'; |
|
44 | 44 | $this->assertEquals($object->getSummary(), $result); |
45 | 45 | } |
46 | 46 |