Completed
Push — master ( 61eb20...5e7fa2 )
by Nic
13s queued 10s
created
src/Elements/ElementSlideshow.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function getCMSFields()
57 57
     {
58
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
58
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
59 59
             $fields->dataFieldByName('Content')
60 60
                 ->setRows(8);
61 61
         });
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         } else {
74 74
             $slide = ' slides';
75 75
         }
76
-        return DBField::create_field('HTMLText', $this->Slides()->count() . $slide)->Summary(20);
76
+        return DBField::create_field('HTMLText', $this->Slides()->count().$slide)->Summary(20);
77 77
     }
78 78
 
79 79
     /**
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     protected function provideBlockSchema()
83 83
     {
84 84
         $blockSchema = parent::provideBlockSchema();
85
-        $blockSchema['content'] = $this->getSummary();
85
+        $blockSchema[ 'content' ] = $this->getSummary();
86 86
         return $blockSchema;
87 87
     }
88 88
 
Please login to merge, or discard this patch.
tests/Elements/ElementSlideshowTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function testGetSummary()
30 30
     {
31 31
         $object = $this->objFromFixture(ElementSlideshow::class, 'one');
32
-        $result = $object->Slides()->count() . ' slide';
32
+        $result = $object->Slides()->count().' slide';
33 33
         $this->assertEquals($object->getSummary(), $result);
34 34
     }
35 35
 
Please login to merge, or discard this patch.