Passed
Push — master ( a22213...935f04 )
by Caen
03:30 queued 12s
created
packages/framework/src/Foundation/Concerns/ManagesHydeKernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             throw new BadMethodCallException('Cannot register a page class after the Kernel has been booted.');
84 84
         }
85 85
 
86
-        if (! is_subclass_of($pageClass, HydePage::class)) {
86
+        if (!is_subclass_of($pageClass, HydePage::class)) {
87 87
             throw new InvalidArgumentException('The specified class must be a subclass of HydePage.');
88 88
         }
89 89
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             throw new InvalidArgumentException('The specified class must not be a subclass of DynamicPage.');
92 92
         }
93 93
 
94
-        if (! in_array($pageClass, $this->pageClasses, true)) {
94
+        if (!in_array($pageClass, $this->pageClasses, true)) {
95 95
             $this->pageClasses[] = $pageClass;
96 96
         }
97 97
     }
Please login to merge, or discard this patch.