GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( afbbbb...caba0d )
by Cees-Jan
04:28
created

LogLine::final()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Travis\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("EmptyLogLine")
10
 */
11
abstract class LogLine extends AbstractResource implements LogLineInterface
12
{
13
    /**
14
     * @var int
15
     */
16
    protected $id;
17
18
    // @codingStandardsIgnoreStart
19
    /**
20
     * @var string
21
     */
22
    protected $_log;
23
    // @codingStandardsIgnoreEnd
24
25
    /**
26
     * @var int
27
     */
28
    protected $number;
29
30
    /**
31
     * @var bool
32
     */
33
    protected $final;
34
35
    /**
36
     * @return int
37
     */
38 4
    public function id(): int
39
    {
40 4
        return $this->id;
41
    }
42
43
    /**
44
     * @return string
45
     */
46 4
    public function log(): string
47
    {
48 4
        return $this->_log;
49
    }
50
51
    /**
52
     * @return int
53
     */
54 4
    public function number(): int
55
    {
56 4
        return $this->number;
57
    }
58
59
    /**
60
     * @return bool
61
     */
62 4
    public function final(): bool
63
    {
64 4
        return $this->final;
65
    }
66
}
67