Passed
Push — master ( 85839c...7d586d )
by Jason
03:54 queued 02:00
created
src/Elements/ElementPromos.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function getCMSFields()
80 80
     {
81
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
81
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
82 82
             $fields->dataFieldByName('Content')
83 83
                 ->setRows(8)
84 84
             ;
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         } else {
118 118
             $label = ' promos';
119 119
         }
120
-        return DBField::create_field('HTMLText', $this->Promos()->count() . $label)->Summary(20);
120
+        return DBField::create_field('HTMLText', $this->Promos()->count().$label)->Summary(20);
121 121
     }
122 122
 
123 123
     /**
Please login to merge, or discard this patch.