diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-12 14:08:00 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-01-12 14:08:00 +0100 |
commit | 91d36774469b8ab839e8ac7ca250ed40460d898b (patch) | |
tree | c09667e392a4cb58fc62ebca213aebd651c3df01 /apps/dav/lib/HookManager.php | |
parent | 33a6e265b24f7da3092fb55d50ef14e8ada6858d (diff) | |
download | nextcloud-server-91d36774469b8ab839e8ac7ca250ed40460d898b.tar.gz nextcloud-server-91d36774469b8ab839e8ac7ca250ed40460d898b.zip |
Make sure the arrays are arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib/HookManager.php')
-rw-r--r-- | apps/dav/lib/HookManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index 1e808e58656..57b176213e0 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; |