Completed
Push — master ( ed2eb8...ae9c7c )
by Andrii
03:34
created

Target::relations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * API for Billing
4
 *
5
 * @link      https://github.com/hiqdev/billing-hiapi
6
 * @package   billing-hiapi
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\billing\hiapi\models;
12
13
use hiapi\query\attributes\IntegerAttribute;
14
use hiapi\query\attributes\StringAttribute;
15
16
class Target extends AbstractModel
17
{
18
    public function attributes()
19
    {
20
        return [
21
            'id'    => IntegerAttribute::class,
22
            'name'  => StringAttribute::class,
23
            'type'  => StringAttribute::class,
24
        ];
25
    }
26
27
    public function relations()
28
    {
29
        return [
30
        ];
31
    }
32
}
33