Completed
Push — master ( b87a46...8351d4 )
by Dmitry
04:00
created

OvdsTariffManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFormOptions() 0 6 1
1
<?php
2
3
namespace hipanel\modules\finance\logic;
4
5
use hipanel\modules\finance\forms\OvdsTariffForm;
6
7
class OvdsTariffManager extends VdsTariffManager
8
{
9
    public $type = 'ovds';
10
11
    protected function getFormOptions()
12
    {
13
        return array_merge([
14
            'class' => OvdsTariffForm::class
15
        ], parent::getFormOptions());
16
    }
17
}
18