aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-07-20 13:28:52 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-07-20 13:28:52 +0200
commit2d3d396dd3545b2478a4529729961b775a069391 (patch)
tree5c4439cdbf5bb59252583519921c216422ba3919
parenta4dd35e4429e69ab0b6999aef54c6eb0360f395b (diff)
downloadnextcloud-server-2d3d396dd3545b2478a4529729961b775a069391.tar.gz
nextcloud-server-2d3d396dd3545b2478a4529729961b775a069391.zip
fix(caldav): Assign initial value to typed CalendarQuery properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--lib/private/Calendar/CalendarQuery.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Calendar/CalendarQuery.php b/lib/private/Calendar/CalendarQuery.php
index b06220e3ce4..3d37d9dc467 100644
--- a/lib/private/Calendar/CalendarQuery.php
+++ b/lib/private/Calendar/CalendarQuery.php
@@ -30,15 +30,15 @@ use OCP\Calendar\ICalendarQuery;
class CalendarQuery implements ICalendarQuery {
public array $searchProperties = [];
- private ?string $searchPattern;
+ private ?string $searchPattern = null;
private array $options = [
'types' => [],
];
- private ?int $offset;
+ private ?int $offset = null;
- private ?int $limit;
+ private ?int $limit = null;
/** @var string[] */
private array $calendarUris = [];