Completed
Push — master ( d2a1e8...ee83ec )
by Klochok
04:32
created

SidebarMenu   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 12
ccs 0
cts 8
cp 0
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 9 1
1
<?php
2
3
namespace hipanel\menus;
4
5
class SidebarMenu extends \hiqdev\menumanager\Menu
6
{
7
    public function render($options = [])
8
    {
9
        $hipanelOptions = [
10
            'class' => \hipanel\widgets\Menu::class,
11
            'options' => ['class' => 'sidebar-menu'],
12
        ];
13
14
        return parent::render(array_merge($hipanelOptions, $options));
15
    }
16
}
17