@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | public function getCMSFields() |
| 50 | 50 | { |
| 51 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 51 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 52 | 52 | $fields->addFieldToTab( |
| 53 | 53 | 'Root.Main', |
| 54 | 54 | HTMLEditorField::create('Title') |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * @param array $context |
| 68 | 68 | * @return bool |
| 69 | 69 | */ |
| 70 | - public function canCreate($member = null, $context = []) |
|
| 70 | + public function canCreate($member = null, $context = [ ]) |
|
| 71 | 71 | { |
| 72 | 72 | return true; |
| 73 | 73 | } |