Passed
Branch master (5c2290)
by Nicolaas
09:04
created
Category
src/Extensions/PageExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.