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

PoweredBy::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
ccs 0
cts 0
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
crap 2
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