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

Value::attributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 9
ccs 0
cts 0
cp 0
rs 9.6666
c 1
b 0
f 0
cc 1
eloc 6
nc 1
nop 0
crap 2
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