Completed
Push — master ( 7d586d...ccbe7d )
by Matthew
04:48
created
src/Elements/ElementPromos.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getCMSFields()
81 81
     {
82
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
82
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
83 83
             $fields->dataFieldByName('Content')
84 84
                 ->setRows(8);
85 85
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         } else {
124 124
             $label = ' promos';
125 125
         }
126
-        return DBField::create_field('HTMLText', $this->Promos()->count() . $label)->Summary(20);
126
+        return DBField::create_field('HTMLText', $this->Promos()->count().$label)->Summary(20);
127 127
     }
128 128
 
129 129
     /**
Please login to merge, or discard this patch.