Passed
Push — master ( 7fe075...8298e2 )
by Caen
03:25 queued 12s
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.