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.

WebHostReportEntry::getItems()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace Checkdomain\Comodo\Model\Result;
3
4
/**
5
 * Class WebHostReportEntry
6
 */
7
class WebHostReportEntry
8
{
9
10
    /**
11
     * @var int
12
     */
13
    protected $rowNumber;
14
15
16
    /**
17
     * @var int
18
     */
19
    protected $orderNumber;
20
21
    /**
22
     * @var string
23
     */
24
    protected $orderStatus;
25
26
    /**
27
     * @var \DateTime
28
     */
29
    protected $dateTime;
30
31
    /**
32
     * @var string
33
     */
34
    protected $organizationName;
35
36
    /**
37
     * @var string
38
     */
39
    protected $organizationalUnitName;
40
41
    /**
42
     * @var string
43
     */
44
    protected $postOfficeBox;
45
46
    /**
47
     * @var string
48
     */
49
    protected $streetAddress1;
50
51
    /**
52
     * @var string
53
     */
54
    protected $streetAddress2;
55
56
    /**
57
     * @var string
58
     */
59
    protected $streetAddress3;
60
61
    /**
62
     * @var string
63
     */
64
    protected $localityName;
65
66
    /**
67
     * @var string
68
     */
69
    protected $stateOrProvinceName;
70
71
    /**
72
     * @var string
73
     */
74
    protected $postalCode;
75
76
    /**
77
     * @var string
78
     */
79
    protected $countryName;
80
81
    /**
82
     * @var string
83
     */
84
    protected $validationStatus;
85
86
    /**
87
     * @var WebHostReportEntryItemCollection;
88
     */
89
    protected $items;
90
91
    /**
92
     * WebHostReportEntry constructor.
93
     * @throws \Checkdomain\Comodo\Model\Exception\UnknownException
94
     */
95
    public function __construct()
96
    {
97
        $this->items = new WebHostReportEntryItemCollection();
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getRowNumber()
104
    {
105
        return $this->rowNumber;
106
    }
107
108
    /**
109
     * @param int $rowNumber
110
     * @return WebHostReportEntry
111
     */
112
    public function setRowNumber($rowNumber)
113
    {
114
        $this->rowNumber = $rowNumber;
115
        return $this;
116
    }
117
118
    /**
119
     * @return int
120
     */
121
    public function getOrderNumber()
122
    {
123
        return $this->orderNumber;
124
    }
125
126
    /**
127
     * @param int $orderNumber
128
     * @return WebHostReportEntry
129
     */
130
    public function setOrderNumber($orderNumber)
131
    {
132
        $this->orderNumber = $orderNumber;
133
        return $this;
134
    }
135
136
    /**
137
     * @return int
138
     */
139
    public function getOrderStatus()
140
    {
141
        return $this->orderStatus;
142
    }
143
144
    /**
145
     * @param int $orderStatus
146
     * @return WebHostReportEntry
147
     */
148
    public function setOrderStatus($orderStatus)
149
    {
150
        $this->orderStatus = $orderStatus;
0 ignored issues
show
Documentation Bug introduced by
The property $orderStatus was declared of type string, but $orderStatus is of type integer. Maybe add a type cast?

This check looks for assignments to scalar types that may be of the wrong type.

To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.

$answer = 42;

$correct = false;

$correct = (bool) $answer;
Loading history...
151
        return $this;
152
    }
153
154
    /**
155
     * @return \DateTime
156
     */
157
    public function getDateTime()
158
    {
159
        return $this->dateTime;
160
    }
161
162
    /**
163
     * @param \DateTime $dateTime
164
     * @return WebHostReportEntry
165
     */
166
    public function setDateTime($dateTime)
167
    {
168
        if (is_numeric($dateTime)) {
169
            $this->dateTime = new \DateTime("@$dateTime");
170
        } else {
171
            $this->dateTime = $dateTime;
172
        }
173
        return $this;
174
    }
175
176
    /**
177
     * @return string
178
     */
179
    public function getOrganizationName()
180
    {
181
        return $this->organizationName;
182
    }
183
184
    /**
185
     * @param string $organizationName
186
     * @return WebHostReportEntry
187
     */
188
    public function setOrganizationName($organizationName)
189
    {
190
        $this->organizationName = $organizationName;
191
        return $this;
192
    }
193
194
    /**
195
     * @return string
196
     */
197
    public function getOrganizationalUnitName()
198
    {
199
        return $this->organizationalUnitName;
200
    }
201
202
    /**
203
     * @param string $organizationalUnitName
204
     * @return WebHostReportEntry
205
     */
206
    public function setOrganizationalUnitName($organizationalUnitName)
207
    {
208
        $this->organizationalUnitName = $organizationalUnitName;
209
        return $this;
210
    }
211
212
    /**
213
     * @return string
214
     */
215
    public function getPostOfficeBox()
216
    {
217
        return $this->postOfficeBox;
218
    }
219
220
    /**
221
     * @param string $postOfficeBox
222
     * @return WebHostReportEntry
223
     */
224
    public function setPostOfficeBox($postOfficeBox)
225
    {
226
        $this->postOfficeBox = $postOfficeBox;
227
        return $this;
228
    }
229
230
    /**
231
     * @return string
232
     */
233
    public function getStreetAddress1()
234
    {
235
        return $this->streetAddress1;
236
    }
237
238
    /**
239
     * @param string $streetAddress1
240
     * @return WebHostReportEntry
241
     */
242
    public function setStreetAddress1($streetAddress1)
243
    {
244
        $this->streetAddress1 = $streetAddress1;
245
        return $this;
246
    }
247
248
    /**
249
     * @return string
250
     */
251
    public function getStreetAddress2()
252
    {
253
        return $this->streetAddress2;
254
    }
255
256
    /**
257
     * @param string $streetAddress2
258
     * @return WebHostReportEntry
259
     */
260
    public function setStreetAddress2($streetAddress2)
261
    {
262
        $this->streetAddress2 = $streetAddress2;
263
        return $this;
264
    }
265
266
    /**
267
     * @return string
268
     */
269
    public function getStreetAddress3()
270
    {
271
        return $this->streetAddress3;
272
    }
273
274
    /**
275
     * @param string $streetAddress3
276
     * @return WebHostReportEntry
277
     */
278
    public function setStreetAddress3($streetAddress3)
279
    {
280
        $this->streetAddress3 = $streetAddress3;
281
        return $this;
282
    }
283
284
    /**
285
     * @return string
286
     */
287
    public function getLocalityName()
288
    {
289
        return $this->localityName;
290
    }
291
292
    /**
293
     * @param string $localityName
294
     * @return WebHostReportEntry
295
     */
296
    public function setLocalityName($localityName)
297
    {
298
        $this->localityName = $localityName;
299
        return $this;
300
    }
301
302
    /**
303
     * @return string
304
     */
305
    public function getStateOrProvinceName()
306
    {
307
        return $this->stateOrProvinceName;
308
    }
309
310
    /**
311
     * @param string $stateOrProvinceName
312
     * @return WebHostReportEntry
313
     */
314
    public function setStateOrProvinceName($stateOrProvinceName)
315
    {
316
        $this->stateOrProvinceName = $stateOrProvinceName;
317
        return $this;
318
    }
319
320
    /**
321
     * @return string
322
     */
323
    public function getPostalCode()
324
    {
325
        return $this->postalCode;
326
    }
327
328
    /**
329
     * @param string $postalCode
330
     * @return WebHostReportEntry
331
     */
332
    public function setPostalCode($postalCode)
333
    {
334
        $this->postalCode = $postalCode;
335
        return $this;
336
    }
337
338
    /**
339
     * @return string
340
     */
341
    public function getCountryName()
342
    {
343
        return $this->countryName;
344
    }
345
346
    /**
347
     * @param string $countryName
348
     * @return WebHostReportEntry
349
     */
350
    public function setCountryName($countryName)
351
    {
352
        $this->countryName = $countryName;
353
        return $this;
354
    }
355
356
    /**
357
     * @return string
358
     */
359
    public function getValidationStatus()
360
    {
361
        return $this->validationStatus;
362
    }
363
364
    /**
365
     * @param string $validationStatus
366
     * @return WebHostReportEntry
367
     */
368
    public function setValidationStatus($validationStatus)
369
    {
370
        $this->validationStatus = $validationStatus;
371
        return $this;
372
    }
373
374
    /**
375
     * @return WebHostReportEntryItemCollection
376
     */
377
    public function getItems()
378
    {
379
        return $this->items;
380
    }
381
382
    /**
383
     * @param WebHostReportEntryItemCollection $items
384
     * @return WebHostReportEntry
385
     */
386
    public function setItems($items)
387
    {
388
        $this->items = $items;
389
        return $this;
390
    }
391
392
393
}
394