Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | public function run() |
||
26 | { |
||
27 | return $this->render('UserMenu', [ |
||
28 | 'header' => ArrayHelper::remove($this->items, 'header'), |
||
29 | 'logout' => ArrayHelper::remove($this->items, 'logout'), |
||
30 | 'profile' => ArrayHelper::remove($this->items, 'profile'), |
||
31 | 'items' => $this->items, |
||
32 | 'options' => $this->options, |
||
33 | ]); |
||
34 | } |
||
35 | } |
||
36 |