Completed
Push — master ( 6190dc...40907e )
by Andrii
02:54
created

PoweredBy   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 6 1
1
<?php
2
3
namespace hiqdev\thememanager\widgets;
4
5
use Yii;
6
use yii\base\Widget;
7
use yii\helpers\Html;
8
9
class PoweredBy extends Widget
10
{
11
    public $options = [];
12
13
    public function run()
14
    {
15
        return $this->render('PoweredBy', array_merge(Yii::$app->params, [
16
            'options' => $this->options,
17
        ]));
18
    }
19
}
20