Passed
Push — master ( 1a998a...943704 )
by Caen
07:42 queued 04:24
created
packages/framework/src/Framework/Features/Navigation/NavigationMenu.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
     /** @return $this */
33 33
     public function generate(): static
34 34
     {
35
-        Router::each(function (Route $route): void {
35
+        Router::each(function(Route $route): void {
36 36
             $this->items->push(NavItem::fromRoute($route));
37 37
         });
38 38
 
39
-        collect(config('hyde.navigation.custom', []))->each(function (NavItem $item): void {
39
+        collect(config('hyde.navigation.custom', []))->each(function(NavItem $item): void {
40 40
             $this->items->push($item);
41 41
         });
42 42
 
@@ -62,14 +62,14 @@  discard block
 block discarded – undo
62 62
 
63 63
     protected function filterHiddenItems(): Collection
64 64
     {
65
-        return $this->items->reject(function (NavItem $item): bool {
65
+        return $this->items->reject(function(NavItem $item): bool {
66 66
             return $item->hidden || $this->filterDocumentationPage($item);
67 67
         })->values();
68 68
     }
69 69
 
70 70
     protected function filterDuplicateItems(): Collection
71 71
     {
72
-        return $this->items->unique(function (NavItem $item): string {
72
+        return $this->items->unique(function(NavItem $item): string {
73 73
             return $item->resolveLink();
74 74
         });
75 75
     }
Please login to merge, or discard this patch.