summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Calendar/CalendarQuery.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/private/Calendar/CalendarQuery.php b/lib/private/Calendar/CalendarQuery.php
index 6b4e2b3be16..0569b66b616 100644
--- a/lib/private/Calendar/CalendarQuery.php
+++ b/lib/private/Calendar/CalendarQuery.php
@@ -47,8 +47,8 @@ class CalendarQuery implements ICalendarQuery {
/** @var int|null */
private $limit;
- /** @var array */
- private $calendarUris;
+ /** @var string[] */
+ private $calendarUris = [];
public function __construct(string $principalUri) {
$this->principalUri = $principalUri;
@@ -86,6 +86,9 @@ class CalendarQuery implements ICalendarQuery {
$this->calendarUris[] = $calendarUri;
}
+ /**
+ * @return string[]
+ */
public function getCalendarUris(): array {
return $this->calendarUris;
}