Completed
Push — master ( b4d7c9...ee3630 )
by Klochok
02:10
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 7
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 8 1
1
<?php
2
/**
3
 * Theme Manager for Yii2
4
 *
5
 * @link      https://github.com/hiqdev/yii2-thememanager
6
 * @package   yii2-thememanager
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\thememanager\widgets;
12
13
use hiqdev\thememanager\FaqAsset;
14
15
class Faq extends \yii\base\Widget
16
{
17
    public $items = [];
18
19
    public function run()
20
    {
21
        FaqAsset::register($this->view);
22
23
        return $this->render('faq/root', [
24
            'items' => $this->items,
25
        ]);
26
    }
27
}
28