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
06:41
created

LogLine::id()   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
abstract class LogLine implements LogLineInterface
7
{
8
    use TransportAwareTrait;
9
10
    /**
11
     * @var int
12
     */
13
    protected $id;
14
15
    /**
16
     * @var string
17
     */
18
    protected $_log;
19
20
    /**
21
     * @var int
22
     */
23
    protected $number;
24
25
    /**
26
     * @var bool
27
     */
28
    protected $final;
29
30
    /**
31
     * @return int
32
     */
33
    public function id() : int
34
    {
35
        return $this->id;
36
    }
37
38
    /**
39
     * @return string
40
     */
41
    public function log() : string
42
    {
43
        return $this->_log;
44
    }
45
46
    /**
47
     * @return int
48
     */
49
    public function number() : int
50
    {
51
        return $this->number;
52
    }
53
54
    /**
55
     * @return bool
56
     */
57
    public function final() : bool
58
    {
59
        return $this->final;
60
    }
61
62
    public function refresh()
63
    {
64
        throw new \Exception();
65
    }
66
}
67