Completed
Push — master ( 383c20...21c91d )
by Dmitry
13:09
created

PriceChargesEstimationTable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
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 12
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
<?php
2
3
namespace hipanel\modules\finance\widgets;
4
5
use yii\base\Widget;
6
7
/**
8
 * Class PriceChargesEstimationTable
9
 *
10
 * @author Dmytro Naumenko <[email protected]>
11
 */
12
class PriceChargesEstimationTable extends Widget
13
{
14
    /**
15
     * @var array
16
     */
17
    public $charges;
18
19
    public function run()
20
    {
21
        return $this->render('priceChargesEstimationTable', ['charges' => $this->charges]);
22
    }
23
}
24