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
Pull Request — master (#21)
by Cees-Jan
16:32 queued 06:33
created

LogLine::final()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace WyriHaximus\Travis\Resource;
4
5
use WyriHaximus\ApiClient\Resource\TransportAwareTrait;
6
7
abstract class LogLine implements LogLineInterface
8
{
9
    use TransportAwareTrait;
10
11
    /**
12
     * @var int
13
     */
14
    protected $id;
15
16
    /**
17
     * @var string
18
     */
19
    protected $_log;
20
21
    /**
22
     * @var int
23
     */
24
    protected $number;
25
26
    /**
27
     * @var bool
28
     */
29
    protected $final;
30
31
    /**
32
     * @return int
33
     */
34
    public function id() : int
35
    {
36
        return $this->id;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function log() : string
43
    {
44
        return $this->_log;
45
    }
46
47
    /**
48
     * @return int
49
     */
50
    public function number() : int
51
    {
52
        return $this->number;
53
    }
54
55
    /**
56
     * @return bool
57
     */
58
    public function final() : bool
59
    {
60
        return $this->final;
61
    }
62
63
    public function refresh()
64
    {
65
        throw new \Exception();
66
    }
67
}
68