Completed
Pull Request — master (#3)
by Klochok
03:46
created

ChangeEmailForm   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 14
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 6 1
1
<?php
2
3
namespace hiqdev\thememanager\widgets;
4
5
use yii\base\Widget;
6
7
class ChangeEmailForm extends Widget
8
{
9
    /**
10
     * @var \hiam\forms\ChangeEmailForm
11
     */
12
    public $model;
13
14
    public function run()
15
    {
16
        return $this->render('ChangeEmailForm', [
17
            'model' => $this->model,
18
        ]);
19
    }
20
}
21