@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * |
22 | 22 | * @var array |
23 | 23 | */ |
24 | - private static $page_classes_included_from_get_site_control = []; |
|
24 | + private static $page_classes_included_from_get_site_control = [ ]; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * list of clasess to be excluded. |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | public function IsGetSiteControlEnabledOnPageLevel(): bool |
55 | 55 | { |
56 | 56 | $included = Config::inst()->get(PageExtension::class, 'page_classes_included_from_get_site_control'); |
57 | - if (! empty($included)) { |
|
57 | + if ( ! empty($included)) { |
|
58 | 58 | foreach ($included as $className) { |
59 | 59 | if ($this instanceof $className) { |
60 | 60 | return true; |