Passed
Push — master ( dfa610...bac577 )
by Jason
14:40 queued 12:56
created
src/Elements/ElementPromos.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function getCMSFields()
86 86
     {
87
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
87
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
88 88
             $fields->dataFieldByName('Content')
89 89
                 ->setTitle('Description')
90 90
                 ->setRows(5);
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         } else {
131 131
             $label = ' promos';
132 132
         }
133
-        return DBField::create_field('HTMLText', $this->Promos()->count() . $label)->Summary(20);
133
+        return DBField::create_field('HTMLText', $this->Promos()->count().$label)->Summary(20);
134 134
     }
135 135
 
136 136
     /**
Please login to merge, or discard this patch.