Passed
Push — master ( 5d914a...ea5826 )
by Jason
04:12
created
src/Elements/ElementAccordion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function getCMSFields()
77 77
     {
78
-        $this->beforeUpdateCMSFields(function ($fields) {
78
+        $this->beforeUpdateCMSFields(function($fields) {
79 79
             /* @var FieldList $fields */
80 80
             $fields->removeByName(array(
81 81
                 'Sort',
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         } else {
110 110
             $label = ' panels';
111 111
         }
112
-        return DBField::create_field('HTMLText', $this->Panels()->count() . $label)->Summary(20);
112
+        return DBField::create_field('HTMLText', $this->Panels()->count().$label)->Summary(20);
113 113
     }
114 114
 
115 115
     /**
Please login to merge, or discard this patch.