Passed
Push — master ( 6534fd...eb8cff )
by Caen
12:05 queued 13s
created
packages/framework/src/Foundation/RouteCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     public function getRoutes(?string $pageClass = null): self
55 55
     {
56
-        return ! $pageClass ? $this : $this->filter(function (RouteContract $route) use ($pageClass) {
56
+        return !$pageClass ? $this : $this->filter(function(RouteContract $route) use ($pageClass) {
57 57
             return $route->getSourceModel() instanceof $pageClass;
58 58
         });
59 59
     }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     protected function discoverRoutes(): self
81 81
     {
82
-        $this->kernel->pages()->each(function (PageContract $page) {
82
+        $this->kernel->pages()->each(function(PageContract $page) {
83 83
             $this->discover($page);
84 84
         });
85 85
 
Please login to merge, or discard this patch.