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 ( 713592...5a937f )
by Cees-Jan
07:11 queued 07:08
created

Milestone::creator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotation\Nested;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Nested(
11
 *     creator="User"
12
 * )
13
 * @EmptyResource("Repository\EmptyMilestone")
14
 */
15
abstract class Milestone extends AbstractResource implements MilestoneInterface
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
22
    /**
23
     * @var int
24
     */
25
    protected $number;
26
27
    /**
28
     * @var string
29
     */
30
    protected $state;
31
32
    /**
33
     * @var string
34
     */
35
    protected $title;
36
37
    /**
38
     * @var string
39
     */
40
    protected $description;
41
42
    /**
43
     * @var User
44
     */
45
    protected $creator;
46
47
    /**
48
     * @var int
49
     */
50
    protected $open_issues;
51
52
    /**
53
     * @var int
54
     */
55
    protected $closed_issues;
56
57
    /**
58
     * @var string
59
     */
60
    protected $url;
61
62
    /**
63
     * @return int
64
     */
65
    public function id(): int
66
    {
67
        return $this->id;
68
    }
69
70
    /**
71
     * @return int
72
     */
73
    public function number(): int
74
    {
75
        return $this->number;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function state(): string
82
    {
83
        return $this->state;
84
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function title(): string
90
    {
91
        return $this->title;
92
    }
93
94
    /**
95
     * @return string
96
     */
97
    public function description(): string
98
    {
99
        return $this->description;
100
    }
101
102
    /**
103
     * @return User
104
     */
105
    public function creator(): User
106
    {
107
        return $this->creator;
108
    }
109
110
    /**
111
     * @return int
112
     */
113
    public function openIssues(): int
114
    {
115
        return $this->open_issues;
116
    }
117
118
    /**
119
     * @return int
120
     */
121
    public function closedIssues(): int
122
    {
123
        return $this->closed_issues;
124
    }
125
126
    /**
127
     * @return string
128
     */
129
    public function url(): string
130
    {
131
        return $this->url;
132
    }
133
}
134