@@ -29,7 +29,7 @@ discard block |
||
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 |
||
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 | } |
@@ -72,8 +72,7 @@ discard block |
||
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 |
||
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 | } |