diff options
Diffstat (limited to 'apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php')
-rw-r--r-- | apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php index a9ed767ffc7..a404dde4448 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php @@ -71,7 +71,7 @@ class Addressbook extends Base { * @return IEvent * @throws \InvalidArgumentException */ - public function parse($language, IEvent $event, IEvent $previousEvent = null): IEvent { + public function parse($language, IEvent $event, ?IEvent $previousEvent = null): IEvent { if ($event->getApp() !== 'dav' || $event->getType() !== 'contacts') { throw new \InvalidArgumentException(); } |