@@ -29,14 +29,14 @@ |
||
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 | } |
@@ -53,6 +53,6 @@ |
||
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 | } |