Completed
Push — master ( 1d3ce3...94c808 )
by Klochok
02:15
created

Faq   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 8 1
1
<?php
2
3
namespace hiqdev\themes\dataserv\widgets;
4
5
use hiqdev\themes\dataserv\FaqAsset;
6
use yii\base\Widget;
7
8
class Faq extends Widget
9
{
10
    public $items = [];
11
12
    public function run()
13
    {
14
        FaqAsset::register($this->view);
15
16
        return $this->render('faq/root', [
17
            'items' => $this->items,
18
        ]);
19
    }
20
}
21