Passed
Push — master ( 62c53d...86bd74 )
by Caen
03:23 queued 14s
created
packages/framework/src/Support/Models/RouteList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
 
30 30
     public function headers(): array
31 31
     {
32
-        return array_map(function (string $key): string {
32
+        return array_map(function(string $key): string {
33 33
             return ucwords(str_replace('_', ' ', $key));
34 34
         }, array_keys($this->routes[0]));
35 35
     }
36 36
 
37 37
     protected function generate(): array
38 38
     {
39
-        return collect(Hyde::routes())->map(function (Route $route): array {
39
+        return collect(Hyde::routes())->map(function(Route $route): array {
40 40
             return $this->routeToListItem($route)->toArray();
41 41
         })->values()->toArray();
42 42
     }
Please login to merge, or discard this patch.
packages/framework/src/Support/Models/RouteListItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,6 @@
 block discarded – undo
53 53
 
54 54
     protected function isPageDiscoverable(): bool
55 55
     {
56
-        return $this->route->getSourcePath() && ! $this->route->getPage() instanceof InMemoryPage;
56
+        return $this->route->getSourcePath() && !$this->route->getPage() instanceof InMemoryPage;
57 57
     }
58 58
 }
Please login to merge, or discard this patch.