Completed
Push — master ( 5a5e4b...77b1bb )
by Dmitry
06:22
created

Value   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A attributes() 0 9 1
1
<?php
2
3
namespace hipanel\modules\finance\models;
4
5
use hiqdev\hiart\ActiveRecord;
6
7
class Value extends ActiveRecord
8
{
9
    public function attributes()
10
    {
11
        return [
12
            'currency',
13
            'value',
14
            'price',
15
            'discounted_price',
16
        ];
17
    }
18
}
19