| Conditions | 4 |
| Paths | 8 |
| Total Lines | 22 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 2 | Features | 1 |
| 1 | <?php |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | if (!MenuPing::instance('sidebar')) { |
||
| 18 | MenuPing::create('sidebar', function ($menu) { |
||
| 19 | $menu->enableOrdering(); |
||
| 20 | $menu->setPresenter('Hechoenlaravel\JarvisFoundation\Menu\Presenters\SidebarMenuPresenter'); |
||
| 21 | }); |
||
| 22 | } |
||
| 23 | if (!MenuPing::instance('config')) { |
||
| 24 | MenuPing::create('config', function ($menu) { |
||
| 25 | $menu->dropdown('Configuración', function ($sub) { |
||
|
|
|||
| 26 | |||
| 27 | }, ['icon' => 'fa fa-cogs']); |
||
| 28 | $menu->setPresenter('Hechoenlaravel\JarvisFoundation\Menu\Presenters\SidebarMenuPresenter'); |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | if (!MenuPing::instance('topnav')) { |
||
| 32 | MenuPing::create('topnav', function ($menu) { |
||
| 33 | $menu->enableOrdering(); |
||
| 34 | }); |
||
| 35 | } |
||
| 36 | } |
||
| 37 | |||
| 48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.