Passed
Push — master ( f8c79c...1ed579 )
by Caen
03:55 queued 13s
created
packages/framework/src/Foundation/Concerns/ManagesHydeKernel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function getDiscoveredPageTypes(): array
69 69
     {
70
-        return $this->pages()->map(function (HydePage $page): string {
70
+        return $this->pages()->map(function(HydePage $page): string {
71 71
             return $page::class;
72 72
         })->unique()->values()->toArray();
73 73
     }
@@ -94,11 +94,11 @@  discard block
 block discarded – undo
94 94
             throw new BadMethodCallException('Cannot register a page class after the Kernel has been booted.');
95 95
         }
96 96
 
97
-        if (! is_subclass_of($pageClass, HydePage::class)) {
97
+        if (!is_subclass_of($pageClass, HydePage::class)) {
98 98
             throw new InvalidArgumentException('The specified class must be a subclass of HydePage.');
99 99
         }
100 100
 
101
-        if (! in_array($pageClass, $this->pageClasses, true)) {
101
+        if (!in_array($pageClass, $this->pageClasses, true)) {
102 102
             $this->pageClasses[] = $pageClass;
103 103
         }
104 104
     }
Please login to merge, or discard this patch.