Completed
Push — master ( a26edd...7d1928 )
by Andrii
05:28
created

OrganizationLink::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
ccs 0
cts 0
cp 0
rs 9.4285
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace hiqdev\thememanager\widgets;
4
5
use Yii;
6
use yii\base\Widget;
7
8
class OrganizationLink extends Widget
9
{
10
11
    public function run()
12
    {
13
        /// XXX build link to organizationUrl
14
        /// XXX to be changed to organizationName
15
        return Yii::$app->params['orgName'];
16
    }
17
18
}
19
20