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   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 56
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 56
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A id() 0 4 1
A log() 0 4 1
A number() 0 4 1
A final() 0 4 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