Passed
Pull Request — master (#18)
by Jason
04:25
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(8)
66 66
                 ->setTitle('Description');
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         } else {
80 80
             $slide = ' slides';
81 81
         }
82
-        return DBField::create_field('HTMLText', $this->Slides()->count() . $slide)->Summary(20);
82
+        return DBField::create_field('HTMLText', $this->Slides()->count().$slide)->Summary(20);
83 83
     }
84 84
 
85 85
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     protected function provideBlockSchema()
89 89
     {
90 90
         $blockSchema = parent::provideBlockSchema();
91
-        $blockSchema['content'] = $this->getSummary();
91
+        $blockSchema[ 'content' ] = $this->getSummary();
92 92
         return $blockSchema;
93 93
     }
94 94
 
Please login to merge, or discard this patch.