diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-07-20 13:28:52 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-07-20 13:28:52 +0200 |
commit | 2d3d396dd3545b2478a4529729961b775a069391 (patch) | |
tree | 5c4439cdbf5bb59252583519921c216422ba3919 | |
parent | a4dd35e4429e69ab0b6999aef54c6eb0360f395b (diff) | |
download | nextcloud-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.php | 6 |
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 = []; |