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
02:27
created
src/EndlessPeriod.php 2 patches
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
     /** @var int */
36 36
     private $precisionMask;
37 37
 
38
+    /**
39
+     * @param integer $precisionMask
40
+     * @param integer $boundaryExclusionMask
41
+     */
38 42
     public function __construct(
39 43
         DateTimeImmutable $start,
40 44
         ?DateTimeImmutable $end,
@@ -323,6 +327,7 @@  discard block
 block discarded – undo
323 327
 
324 328
     /**
325 329
      * @param \Spatie\Period\Period ...$periods
330
+     * @param Period[] $periods
326 331
      *
327 332
      * @return \Spatie\Period\PeriodCollection|static[]
328 333
      */
@@ -345,8 +350,9 @@  discard block
 block discarded – undo
345 350
 
346 351
     /**
347 352
      * @param \Spatie\Period\Period ...$periods
353
+     * @param Period[] $periods
348 354
      *
349
-     * @return static
355
+     * @return Period
350 356
      */
351 357
     public function overlapAll(PeriodInterface ...$periods): Period
352 358
     {
@@ -407,6 +413,7 @@  discard block
 block discarded – undo
407 413
 
408 414
     /**
409 415
      * @param \Spatie\Period\Period ...$periods
416
+     * @param Period[] $periods
410 417
      *
411 418
      * @return \Spatie\Period\PeriodCollection|static[]
412 419
      */
@@ -449,6 +456,9 @@  discard block
 block discarded – undo
449 456
         );
450 457
     }
451 458
 
459
+    /**
460
+     * @param string|null $format
461
+     */
452 462
     protected static function resolveDate($date, ?string $format): DateTimeImmutable
453 463
     {
454 464
         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 EndlessPeriod implements IteratorAggregate, PeriodInterface
16 16
 {
Please login to merge, or discard this patch.
src/Period.php 1 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.