diff options
author | Anna <anna@nextcloud.com> | 2023-07-20 23:49:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 23:49:12 +0200 |
commit | af6bb98b144d0d333cb29fdd9370ed4465f4ba6e (patch) | |
tree | c777db6089024ddb7f1bb95dfa74e4efc27b8d06 /lib/private | |
parent | 31f1ff87d0537e5d839b8c01f4ca72d2feddb739 (diff) | |
parent | 41323b0388a0f7ff260fcdd7284aaa770a11baa2 (diff) | |
download | nextcloud-server-af6bb98b144d0d333cb29fdd9370ed4465f4ba6e.tar.gz nextcloud-server-af6bb98b144d0d333cb29fdd9370ed4465f4ba6e.zip |
Merge pull request #39504 from nextcloud/fix/caldav/access-typed-searchquery-property-without-init
fix(caldav): Assign initial value to typed CalendarQuery properties
Diffstat (limited to 'lib/private')
-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 = []; |