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 ( d41d9c...4f765f )
by Cees-Jan
12s
created

Build::finished()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\AppVeyor\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
use DateTimeInterface;
8
9
/**
10
 * @EmptyResource("EmptyBuild")
11
 */
12
abstract class Build extends AbstractResource implements BuildInterface
13
{
14
    /**
15
     * @var int
16
     */
17
    protected $buildId;
18
19
    /**
20
     * @var int
21
     */
22
    protected $buildNumber;
23
24
    /**
25
     * @var string
26
     */
27
    protected $version;
28
29
    /**
30
     * @var string
31
     */
32
    protected $message;
33
34
    /**
35
     * @var string
36
     */
37
    protected $branch;
38
39
    /**
40
     * @var string
41
     */
42
    protected $commitId;
43
44
    /**
45
     * @var string
46
     */
47
    protected $authorName;
48
49
    /**
50
     * @var string
51
     */
52
    protected $authorUserName;
53
54
    /**
55
     * @var string
56
     */
57
    protected $comitterName;
58
59
    /**
60
     * @var string
61
     */
62
    protected $comitterUserName;
63
64
    /**
65
     * @var DateTimeInterface
66
     */
67
    protected $comitted;
68
69
    /**
70
     * @var array
71
     */
72
    protected $messages;
73
74
    /**
75
     * @var string
76
     */
77
    protected $status;
78
79
    /**
80
     * @var DateTimeInterface
81
     */
82
    protected $started;
83
84
    /**
85
     * @var DateTimeInterface
86
     */
87
    protected $finished;
88
89
    /**
90
     * @var DateTimeInterface
91
     */
92
    protected $created;
93
94
    /**
95
     * @var DateTimeInterface
96
     */
97
    protected $updated;
98
99
    /**
100
     * @return int
101
     */
102 4
    public function buildId(): int
103
    {
104 4
        return $this->buildId;
105
    }
106
107
    /**
108
     * @return int
109
     */
110 4
    public function buildNumber(): int
111
    {
112 4
        return $this->buildNumber;
113
    }
114
115
    /**
116
     * @return string
117
     */
118 4
    public function version(): string
119
    {
120 4
        return $this->version;
121
    }
122
123
    /**
124
     * @return string
125
     */
126 4
    public function message(): string
127
    {
128 4
        return $this->message;
129
    }
130
131
    /**
132
     * @return string
133
     */
134 4
    public function branch(): string
135
    {
136 4
        return $this->branch;
137
    }
138
139
    /**
140
     * @return string
141
     */
142 4
    public function commitId(): string
143
    {
144 4
        return $this->commitId;
145
    }
146
147
    /**
148
     * @return string
149
     */
150 4
    public function authorName(): string
151
    {
152 4
        return $this->authorName;
153
    }
154
155
    /**
156
     * @return string
157
     */
158 4
    public function authorUserName(): string
159
    {
160 4
        return $this->authorUserName;
161
    }
162
163
    /**
164
     * @return string
165
     */
166 4
    public function comitterName(): string
167
    {
168 4
        return $this->comitterName;
169
    }
170
171
    /**
172
     * @return string
173
     */
174 4
    public function comitterUserName(): string
175
    {
176 4
        return $this->comitterUserName;
177
    }
178
179
    /**
180
     * @return DateTimeInterface
181
     */
182
    public function comitted(): DateTimeInterface
183
    {
184
        return $this->comitted;
185
    }
186
187
    /**
188
     * @return array
189
     */
190
    public function messages(): array
191
    {
192
        return $this->messages;
193
    }
194
195
    /**
196
     * @return string
197
     */
198 4
    public function status(): string
199
    {
200 4
        return $this->status;
201
    }
202
203
    /**
204
     * @return DateTimeInterface
205
     */
206
    public function started(): DateTimeInterface
207
    {
208
        return $this->started;
209
    }
210
211
    /**
212
     * @return DateTimeInterface
213
     */
214
    public function finished(): DateTimeInterface
215
    {
216
        return $this->finished;
217
    }
218
219
    /**
220
     * @return DateTimeInterface
221
     */
222
    public function created(): DateTimeInterface
223
    {
224
        return $this->created;
225
    }
226
227
    /**
228
     * @return DateTimeInterface
229
     */
230
    public function updated(): DateTimeInterface
231
    {
232
        return $this->updated;
233
    }
234
}
235