| @@ -143,15 +143,15 @@ | ||
| 143 | 143 | */ | 
| 144 | 144 | private function updateActive() | 
| 145 | 145 |      { | 
| 146 | -        $this->each(function ($item) { | |
| 146 | +        $this->each(function($item) { | |
| 147 | 147 |              if (isset($item->links)) { | 
| 148 | -                $item->links->each(function ($link) { | |
| 148 | +                $item->links->each(function($link) { | |
| 149 | 149 |                      if ($link->slug == $this->active) { | 
| 150 | 150 | $link->setActive(true); | 
| 151 | 151 | } | 
| 152 | 152 | |
| 153 | 153 |                      if (isset($link->links)) { | 
| 154 | -                        $link->links->each(function ($subLink) use ($link) { | |
| 154 | +                        $link->links->each(function($subLink) use ($link) { | |
| 155 | 155 |                              if ($subLink->slug == $this->active) { | 
| 156 | 156 |                                  if ($link->activeParentage()) { | 
| 157 | 157 | $link->setActive(true); | 
| @@ -39,7 +39,7 @@ | ||
| 39 | 39 | */ | 
| 40 | 40 | protected function shareWithApp() | 
| 41 | 41 |      { | 
| 42 | -        $this->app->singleton('menu', function () { | |
| 42 | +        $this->app->singleton('menu', function() { | |
| 43 | 43 | return new Container(); | 
| 44 | 44 | }); | 
| 45 | 45 | } |