Completed
Push — master ( ffb209...577704 )
by Andrii
05:01
created

Type::relations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace hiqdev\billing\hiapi\models;
4
5
use hiapi\query\attributes\IntegerAttribute;
6
use hiapi\query\attributes\StringAttribute;
7
8
class Type extends AbstractModel
9
{
10
    public function attributes()
11
    {
12
        return [
13
            'id' => IntegerAttribute::class,
14
            'name' => StringAttribute::class,
15
        ];
16
    }
17
18
    public function relations()
19
    {
20
        return [];
21
    }
22
}
23