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
Branch master (0d73c1)
by Maeda
04:17
created
Category
src/DateRange.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         $end = clone $this->end;
52 52
         // DatePeriod does not include end date so, plus 1 sec to end date.
53 53
         $end->modify('+1 sec');
54
-        return new DatePeriod($this->start, ($interval)?: $this->interval, $end);
54
+        return new DatePeriod($this->start, ($interval) ?: $this->interval, $end);
55 55
     }
56 56
 
57 57
     public function getIterator()
Please login to merge, or discard this patch.
examples/demo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@  discard block
 block discarded – undo
23 23
 
24 24
 
25 25
 ## get DatePeriod for loop
26
-foreach($range as $d) {
26
+foreach ($range as $d) {
27 27
     echo $d->format('Y-m-d') . PHP_EOL;
28 28
 }
29 29
 
30 30
 ## or
31
-foreach($range->getDatePeriod() as $d) {
31
+foreach ($range->getDatePeriod() as $d) {
32 32
     echo $d->format('Y-m-d') . PHP_EOL;
33 33
 }
34 34
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 $end = new DateTime('2020-12-31');
50 50
 $range = new DateRange([$start, $end]);
51 51
 $range->setInterval(new DateInterval('P1Y')); // change from 'P1D' (Default)
52
-foreach($range->getDatePeriod() as $d) {
52
+foreach ($range->getDatePeriod() as $d) {
53 53
     echo $d->format('Y-m-d') . PHP_EOL;
54 54
 }
55 55
 // 2012-12-01
Please login to merge, or discard this patch.