Completed
Pull Request — master (#29)
by Robbie
109:46 queued 107:23
created
src/PageTypes/NewsPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     public function getCMSFields()
47 47
     {
48
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
48
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
49 49
             $fields->addFieldToTab(
50 50
                 'Root.Main',
51 51
                 TextField::create('Author', $this->fieldLabel('Author')),
Please login to merge, or discard this patch.
src/PageTypes/BasePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
 
187 187
     public function getCMSFields()
188 188
     {
189
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
189
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
190 190
             // Related Pages
191 191
             $components = GridFieldConfig_RelationEditor::create();
192 192
             $components->removeComponentsByType(GridFieldAddNewButton::class);
Please login to merge, or discard this patch.