aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/EventReaderRRule.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV/EventReaderRRule.php')
-rw-r--r--apps/dav/lib/CalDAV/EventReaderRRule.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/CalDAV/EventReaderRRule.php b/apps/dav/lib/CalDAV/EventReaderRRule.php
index fc229ddcd44..d2b4968c479 100644
--- a/apps/dav/lib/CalDAV/EventReaderRRule.php
+++ b/apps/dav/lib/CalDAV/EventReaderRRule.php
@@ -22,7 +22,7 @@ class EventReaderRRule extends \Sabre\VObject\Recur\RRuleIterator {
return $this->interval;
}
- public function concludes(): DateTime|null {
+ public function concludes(): ?DateTime {
// evaluate if until value is a date
if ($this->until instanceof DateTimeInterface) {
return DateTime::createFromInterface($this->until);
@@ -48,11 +48,11 @@ class EventReaderRRule extends \Sabre\VObject\Recur\RRuleIterator {
return null;
}
- public function concludesAfter(): int|null {
+ public function concludesAfter(): ?int {
return !empty($this->count) ? $this->count : null;
}
- public function concludesOn(): DateTime|null {
+ public function concludesOn(): ?DateTime {
return isset($this->until) ? DateTime::createFromInterface($this->until) : null;
}