Passed
Push — master ( 67229b...554f2e )
by Caen
03:21 queued 12s
created
packages/framework/src/Foundation/Concerns/ManagesHydeKernel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             throw new BadMethodCallException('Cannot register a page class after the Kernel has been booted.');
74 74
         }
75 75
 
76
-        if (! is_subclass_of($pageClass, HydePage::class)) {
76
+        if (!is_subclass_of($pageClass, HydePage::class)) {
77 77
             throw new InvalidArgumentException('The specified class must be a subclass of HydePage.');
78 78
         }
79 79
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             throw new InvalidArgumentException('The specified class must not be a subclass of DynamicPage.');
82 82
         }
83 83
 
84
-        if (! in_array($pageClass, $this->pageClasses, true)) {
84
+        if (!in_array($pageClass, $this->pageClasses, true)) {
85 85
             $this->pageClasses[] = $pageClass;
86 86
         }
87 87
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /** @param class-string<\Hyde\Foundation\Concerns\HydeExtension>  $extension */
96 96
     public function registerExtension(string $extension): void
97 97
     {
98
-        if (! in_array($extension, $this->extensions, true)) {
98
+        if (!in_array($extension, $this->extensions, true)) {
99 99
             $this->extensions[] = $extension;
100 100
         }
101 101
     }
Please login to merge, or discard this patch.