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