Passed
Branch master (00b4c1)
by Adel
02:21
created
Category
src/LaravelMenuServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/ItemProcessors/ActiveMenuItemProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.