@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace Malezha\Menu\Element; |
| 3 | 3 | |
| 4 | 4 | use Illuminate\Container\Container; |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | use Malezha\Menu\Contracts\Attributes; |
| 7 | 6 | use Malezha\Menu\Contracts\ComparativeUrl; |
| 8 | 7 | use Malezha\Menu\Contracts\DisplayRule as DisplayRuleInterface; |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | protected function registerRenderSystem() |
| 81 | 81 | { |
| 82 | - $this->app->bind('menu.render', function (Container $app) { |
|
| 82 | + $this->app->bind('menu.render', function(Container $app) { |
|
| 83 | 83 | $config = $app->make(Repository::class)->get('menu'); |
| 84 | 84 | $key = $config['default']; |
| 85 | 85 | $available = $config['renders']; |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | protected function registerComparativeUrl() |
| 97 | 97 | { |
| 98 | - $this->app->singleton('menu.compare-url', function (Container $app) { |
|
| 98 | + $this->app->singleton('menu.compare-url', function(Container $app) { |
|
| 99 | 99 | return $app->make(ComparativeUrl::class, [ |
| 100 | 100 | 'skippedPaths' => $app->make(Repository::class)->get('menu.skippedPaths'), |
| 101 | 101 | ]); |