Passed
Push — master ( 8298e2...57e0d2 )
by Caen
03:28 queued 13s
created
packages/framework/src/Foundation/Kernel/RouteCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     public function getRoutes(?string $pageClass = null): self
46 46
     {
47
-        return ! $pageClass ? $this : $this->filter(function (Route $route) use ($pageClass): bool {
47
+        return !$pageClass ? $this : $this->filter(function(Route $route) use ($pageClass) : bool {
48 48
             return $route->getPage() instanceof $pageClass;
49 49
         });
50 50
     }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
     protected function runDiscovery(): self
82 82
     {
83
-        $this->kernel->pages()->each(function (HydePage $page): void {
83
+        $this->kernel->pages()->each(function(HydePage $page): void {
84 84
             $this->discover($page);
85 85
         });
86 86
 
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Concerns/BootsHydeKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function boot(): void
31 31
     {
32
-        if (! $this->readyToBoot || $this->booting) {
32
+        if (!$this->readyToBoot || $this->booting) {
33 33
             return;
34 34
         }
35 35
 
Please login to merge, or discard this patch.