@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function boot() |
19 | 19 | { |
20 | - if (function_exists('resource_path')) |
|
20 | + if(function_exists('resource_path')) |
|
21 | 21 | { |
22 | 22 | $menuPath = resource_path('menu/default.php'); |
23 | 23 | $templatePath = resource_path('views/menu/menu.blade.php'); |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | { |
44 | 44 | $processor = $this->app->make('config')->get('laravel-menu.processor', ActiveMenuItemProcessor::class); |
45 | 45 | |
46 | - if ($processor) |
|
46 | + if($processor) |
|
47 | 47 | { |
48 | 48 | $this->app->bind(LaravelMenuItemProcessor::class, $processor); |
49 | 49 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | public function process($item) |
13 | 13 | { |
14 | - if (array_key_exists('active', $item)) |
|
14 | + if(array_key_exists('active', $item)) |
|
15 | 15 | { |
16 | 16 | $item['active'] = $item['active'](); |
17 | 17 |