summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/HookManager.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-12 14:08:00 +0100
committerJoas Schilling <coding@schilljs.com>2018-01-12 14:08:00 +0100
commit91d36774469b8ab839e8ac7ca250ed40460d898b (patch)
treec09667e392a4cb58fc62ebca213aebd651c3df01 /apps/dav/lib/HookManager.php
parent33a6e265b24f7da3092fb55d50ef14e8ada6858d (diff)
downloadnextcloud-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.php6
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;