From 73a6717016741a3b6f4cb0226274ee1ea4af1024 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 12 Jan 2018 14:08:00 +0100 Subject: [PATCH] Make sure the arrays are arrays Signed-off-by: Joas Schilling --- apps/dav/lib/HookManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index 1e808e5865..57b176213e 100644 --- a/apps/dav/lib/HookManager.php +++ b/apps/dav/lib/HookManager.php @@ -43,7 +43,7 @@ class HookManager { private $syncService; /** @var IUser[] */ - private $usersToDelete; + private $usersToDelete = []; /** @var CalDavBackend */ private $calDav; @@ -52,10 +52,10 @@ class HookManager { private $cardDav; /** @var array */ - private $calendarsToDelete; + private $calendarsToDelete = []; /** @var array */ - private $addressBooksToDelete; + private $addressBooksToDelete = []; /** @var EventDispatcher */ private $eventDispatcher;