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

Type   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A attributes() 0 7 1
A relations() 0 4 1
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