Passed
Branch master (5a85a5)
by Leo
09:23
created
Category
src/Model/Block.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * Defines the database table name
30 30
      * @var string
31 31
      */
32
-    private static $table_name  =   'Cita_Modular_Block';
32
+    private static $table_name = 'Cita_Modular_Block';
33 33
 
34 34
     /**
35 35
      * Singular name for CMS
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 
185 185
     public function getCacheInvalidator()
186 186
     {
187
-        $prefix = str_replace('\\', '_' , strtolower(__CLASS__));
187
+        $prefix = str_replace('\\', '_', strtolower(__CLASS__));
188 188
 
189 189
         return $prefix . '__' . ($this->exists() ? ($this->ID . '__' . strtotime($this->LastEdited)) : time());
190 190
     }
Please login to merge, or discard this patch.
src/Traits/ModularCommonTrait.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@  discard block
 block discarded – undo
72 72
                 [
73 73
                     'Type' => 'Type',
74 74
                     'Title' => 'Title',
75
-                ] :
76
-                [
75
+                ] : [
77 76
                     'showID' => 'Anchor',
78 77
                     'Type' => 'Type',
79 78
                     'Title' => 'Title',
@@ -145,8 +144,7 @@  discard block
 block discarded – undo
145 144
             ->customise(['ModularBlocks' => $this->owner->ModularBlocks()])
146 145
             ->renderWith(
147 146
             $this->owner instanceof FlexBlock ?
148
-            'Cita\\Modular\\FlexModularList' :
149
-            'Cita\\Modular\\ModularList'
147
+            'Cita\\Modular\\FlexModularList' : 'Cita\\Modular\\ModularList'
150 148
         );
151 149
     }
152 150
 }
Please login to merge, or discard this patch.