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 (#52)
by
unknown
01:12
created
src/Period.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -325,6 +325,7 @@  discard block
 block discarded – undo
325 325
 
326 326
     /**
327 327
      * @param \Spatie\Period\Period ...$periods
328
+     * @param Period[] $periods
328 329
      *
329 330
      * @return \Spatie\Period\PeriodCollection|static[]
330 331
      */
@@ -347,6 +348,7 @@  discard block
 block discarded – undo
347 348
 
348 349
     /**
349 350
      * @param \Spatie\Period\Period ...$periods
351
+     * @param Period[] $periods
350 352
      *
351 353
      * @return static
352 354
      */
@@ -409,6 +411,7 @@  discard block
 block discarded – undo
409 411
 
410 412
     /**
411 413
      * @param \Spatie\Period\Period ...$periods
414
+     * @param Period[] $periods
412 415
      *
413 416
      * @return \Spatie\Period\PeriodCollection|static[]
414 417
      */
@@ -451,6 +454,9 @@  discard block
 block discarded – undo
451 454
         );
452 455
     }
453 456
 
457
+    /**
458
+     * @param string|null $format
459
+     */
454 460
     protected static function resolveDate($date, ?string $format): DateTimeImmutable
455 461
     {
456 462
         if ($date instanceof DateTimeImmutable) {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Period;
4 4
 
5
-use DateTime;
6
-use DatePeriod;
7 5
 use DateInterval;
6
+use DatePeriod;
7
+use DateTime;
8 8
 use DateTimeImmutable;
9 9
 use DateTimeInterface;
10 10
 use IteratorAggregate;
11
+use Spatie\Period\Exceptions\CannotComparePeriods;
11 12
 use Spatie\Period\Exceptions\InvalidDate;
12 13
 use Spatie\Period\Exceptions\InvalidPeriod;
13
-use Spatie\Period\Exceptions\CannotComparePeriods;
14 14
 
15 15
 class Period implements IteratorAggregate, PeriodInterface
16 16
 {
Please login to merge, or discard this patch.
src/PeriodCollection.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Period;
4 4
 
5
+use ArrayAccess;
5 6
 use Closure;
6
-use Iterator;
7 7
 use Countable;
8
-use ArrayAccess;
8
+use Iterator;
9 9
 
10 10
 class PeriodCollection implements ArrayAccess, Iterator, Countable
11 11
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * @param \Spatie\Period\Period ...$periods
19
+     * @param Period[] $periods
19 20
      *
20 21
      * @return static
21 22
      */
@@ -58,6 +59,7 @@  discard block
 block discarded – undo
58 59
 
59 60
     /**
60 61
      * @param \Spatie\Period\PeriodCollection ...$periodCollections
62
+     * @param PeriodCollection[] $periodCollections
61 63
      *
62 64
      * @return static
63 65
      */
@@ -139,6 +141,7 @@  discard block
 block discarded – undo
139 141
 
140 142
     /**
141 143
      * @param \Spatie\Period\Period ...$periods
144
+     * @param Period[] $periods
142 145
      *
143 146
      * @return static
144 147
      */
Please login to merge, or discard this patch.
src/EndlessPeriod.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Period;
4 4
 
5
-use DateTime;
6
-use DatePeriod;
7 5
 use DateInterval;
6
+use DatePeriod;
7
+use DateTime;
8 8
 use DateTimeImmutable;
9 9
 use DateTimeInterface;
10 10
 use IteratorAggregate;
11
+use Spatie\Period\Exceptions\CannotComparePeriods;
11 12
 use Spatie\Period\Exceptions\InvalidDate;
12 13
 use Spatie\Period\Exceptions\InvalidPeriod;
13
-use Spatie\Period\Exceptions\CannotComparePeriods;
14 14
 
15 15
 class EndlessPeriod implements IteratorAggregate, PeriodInterface
16 16
 {
Please login to merge, or discard this patch.
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,11 @@  discard block
 block discarded – undo
35 35
     /** @var int */
36 36
     public $precisionMask;
37 37
 
38
+    /**
39
+     * @param DateTimeImmutable|null $end
40
+     * @param integer $precisionMask
41
+     * @param integer $boundaryExclusionMask
42
+     */
38 43
     public function __construct(
39 44
         DateTimeImmutable $start,
40 45
         ?DateTimeImmutable $end,
@@ -326,6 +331,7 @@  discard block
 block discarded – undo
326 331
 
327 332
     /**
328 333
      * @param \Spatie\Period\Period ...$periods
334
+     * @param Period[] $periods
329 335
      *
330 336
      * @return \Spatie\Period\PeriodCollection|static[]
331 337
      */
@@ -348,8 +354,9 @@  discard block
 block discarded – undo
348 354
 
349 355
     /**
350 356
      * @param \Spatie\Period\Period ...$periods
357
+     * @param Period[] $periods
351 358
      *
352
-     * @return static
359
+     * @return Period
353 360
      */
354 361
     public function overlapAll(PeriodInterface ...$periods): Period
355 362
     {
@@ -410,6 +417,7 @@  discard block
 block discarded – undo
410 417
 
411 418
     /**
412 419
      * @param \Spatie\Period\Period ...$periods
420
+     * @param Period[] $periods
413 421
      *
414 422
      * @return \Spatie\Period\PeriodCollection|static[]
415 423
      */
@@ -452,6 +460,9 @@  discard block
 block discarded – undo
452 460
         );
453 461
     }
454 462
 
463
+    /**
464
+     * @param string|null $format
465
+     */
455 466
     protected static function resolveDate($date, ?string $format): DateTimeImmutable
456 467
     {
457 468
         if ($date instanceof DateTimeImmutable) {
Please login to merge, or discard this patch.