Passed
Push — master ( 4d256e...7fd2cf )
by Daniel
02:25
created

NovaServiceResult::getZones()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace OrcaServices\NovaApi\Result;
4
5
use Cake\Chronos\Chronos;
6
7
/**
8
 * NovaServiceResult.
9
 */
10
final class NovaServiceResult
11
{
12
    /**
13
     * Tkid.
14
     *
15
     * @var string
16
     */
17
    public $tkId;
18
19
    /**
20
     * Valid start date.
21
     *
22
     * @var Chronos
23
     */
24
    public $validFrom;
25
26
    /**
27
     * Valid end date.
28
     *
29
     * @var Chronos
30
     */
31
    public $validTo;
32
33
    /**
34
     * Product number.
35
     *
36
     * @var string
37
     */
38
    public $productNumber;
39
40
    /**
41
     * Restricted to zones.
42
     *
43
     * @var string[]
44
     */
45
    public $zones = [];
46
}
47