Passed
Pull Request — master (#9)
by Jason
03:46
created
src/Elements/ElementFileList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function getCMSFields()
59 59
     {
60
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
60
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
61 61
             if ($this->ID) {
62 62
                 $field = $fields->dataFieldByName('Files');
63 63
                 $fields->removeByName('Files');
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         } else {
96 96
             $label = ' files';
97 97
         }
98
-        return DBField::create_field('HTMLText', $this->Files()->count() . $label)->Summary(20);
98
+        return DBField::create_field('HTMLText', $this->Files()->count().$label)->Summary(20);
99 99
     }
100 100
 
101 101
     /**
Please login to merge, or discard this patch.