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 (#33)
by Cees-Jan
44:41 queued 34:46
created

Annotation   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 69
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 1
dl 0
loc 69
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A id() 0 4 1
A jobId() 0 4 1
A description() 0 4 1
A url() 0 4 1
A status() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace WyriHaximus\Travis\Resource;
5
6
use WyriHaximus\ApiClient\Resource\TransportAwareTrait;
7
8
abstract class Annotation implements AnnotationInterface
9
{
10
    use TransportAwareTrait;
11
12
    /**
13
     * @var int
14
     */
15
    protected $id;
16
17
    /**
18
     * @var int
19
     */
20
    protected $job_id;
21
22
    /**
23
     * @var string
24
     */
25
    protected $description;
26
27
    /**
28
     * @var string
29
     */
30
    protected $url;
31
32
    /**
33
     * @var string
34
     */
35
    protected $status;
36
37
    /**
38
     * @return int
39
     */
40
    public function id() : int
41
    {
42
        return $this->id;
43
    }
44
45
    /**
46
     * @return int
47
     */
48
    public function jobId() : int
49
    {
50
        return $this->job_id;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function description() : string
57
    {
58
        return $this->description;
59
    }
60
61
    /**
62
     * @return string
63
     */
64
    public function url() : string
65
    {
66
        return $this->url;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function status() : string
73
    {
74
        return $this->status;
75
    }
76
}
77