Completed
Pull Request — master (#8)
by Matthew
03:02 queued 32s
created
src/Model/PromoObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function getCMSFields()
44 44
     {
45
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
45
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
46 46
             $fields->removeByName('ElementPromos');
47 47
 
48 48
             $config = GridFieldConfig_RecordViewer::create();
Please login to merge, or discard this patch.
src/Elements/ElementPromos.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      */
72 72
     public function getCMSFields()
73 73
     {
74
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
74
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
75 75
             $fields->dataFieldByName('Content')
76 76
                 ->setRows(8);
77 77
             $fields->dataFieldByName('Alternate')->setTitle('Alternate images and text');
Please login to merge, or discard this patch.