Passed
Pull Request — master (#18)
by Jason
02:29
created
src/Elements/ElementSlideshow.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function getCMSFields()
62 62
     {
63
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
63
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
64 64
             $fields->dataFieldByName('Content')
65 65
                 ->setRows(5)
66 66
                 ->setTitle('Description')
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         } else {
81 81
             $slide = ' slides';
82 82
         }
83
-        return DBField::create_field('HTMLText', $this->Slides()->count() . $slide)->Summary(20);
83
+        return DBField::create_field('HTMLText', $this->Slides()->count().$slide)->Summary(20);
84 84
     }
85 85
 
86 86
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     protected function provideBlockSchema()
90 90
     {
91 91
         $blockSchema = parent::provideBlockSchema();
92
-        $blockSchema['content'] = $this->getSummary();
92
+        $blockSchema[ 'content' ] = $this->getSummary();
93 93
         return $blockSchema;
94 94
     }
95 95
 
Please login to merge, or discard this patch.