Passed
Pull Request — master (#24)
by Jason
09:44
created
src/Elements/ElementSlideshow.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $labels = parent::fieldLabels($includerelations);
56 56
 
57
-        $labels['Content'] = _t(__CLASS__.'.ContentLabel', 'Description');
57
+        $labels[ 'Content' ] = _t(__CLASS__.'.ContentLabel', 'Description');
58 58
 
59 59
         return $labels;
60 60
     }
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function getCMSFields()
66 66
     {
67
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
67
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
68 68
             $fields->dataFieldByName('Content')
69 69
                 ->setRows(5)
70 70
                 ->setDescription(_t(
71
-                    __CLASS__ . '.ContentDescription',
71
+                    __CLASS__.'.ContentDescription',
72 72
                     'optional. Add introductory copy to your slideshow.'
73 73
                 ));
74 74
         });
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     {
84 84
         $count = $this->Slides()->count();
85 85
         $label = _t(
86
-            SlideImage::class . '.PLURALS',
86
+            SlideImage::class.'.PLURALS',
87 87
             '{count} Slide|{count} Slides',
88 88
             [ 'count' => $count ]
89 89
         );
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     protected function provideBlockSchema()
97 97
     {
98 98
         $blockSchema = parent::provideBlockSchema();
99
-        $blockSchema['content'] = $this->getSummary();
99
+        $blockSchema[ 'content' ] = $this->getSummary();
100 100
         return $blockSchema;
101 101
     }
102 102
 
Please login to merge, or discard this patch.