mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Merge pull request #39504 from nextcloud/fix/caldav/access-typed-searchquery-property-without-init
fix(caldav): Assign initial value to typed CalendarQuery properties
This commit is contained in:
commit
af6bb98b14
1 changed files with 3 additions and 3 deletions
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue