Completed
Push — master ( 3e3d31...766a18 )
by Tim
19s queued 15s
created
Classes/Service/RecurrenceService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         string $recurrence,
35 35
         string $day,
36 36
         int $interval = 1
37
-    ): \DateTime|false {
37
+    ): \DateTime | false {
38 38
         return $this->getRecurrenceForCurrentMonth($date, $recurrence, $day, '+' . $interval . ' month');
39 39
     }
40 40
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         string $recurrence,
47 47
         string $day,
48 48
         int $interval = 1
49
-    ): \DateTime|false {
49
+    ): \DateTime | false {
50 50
         return $this->getRecurrenceForCurrentMonth($date, $recurrence, $day, '+' . $interval . ' year');
51 51
     }
52 52
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         string $recurrence,
59 59
         string $day,
60 60
         string $modify
61
-    ): \DateTime|false {
61
+    ): \DateTime | false {
62 62
         // clone and reset and move to next month
63 63
         $dateTime = clone $date;
64 64
         $dateTime->setDate((int)$dateTime->format('Y'), (int)$dateTime->format('m'), 1);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         string $direction,
158 158
         array $validDays,
159 159
         int $position = 1
160
-    ): \DateTime|false {
160
+    ): \DateTime | false {
161 161
         if (self::DIRECTION_UP === $direction) {
162 162
             $dateTime->setDate((int)$dateTime->format('Y'), (int)$dateTime->format('m'), 1);
163 163
             $modify = '+1 day';
Please login to merge, or discard this patch.