summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-12 14:08:00 +0100
committerJoas Schilling <coding@schilljs.com>2018-01-18 15:56:24 +0100
commit73a6717016741a3b6f4cb0226274ee1ea4af1024 (patch)
tree63d6dfcb401812106c54412b8619cd8fd12cc198 /apps/dav
parenta0499e02585d8f1e0c4547fdfaee7551bfafe4c4 (diff)
downloadnextcloud-server-73a6717016741a3b6f4cb0226274ee1ea4af1024.tar.gz
nextcloud-server-73a6717016741a3b6f4cb0226274ee1ea4af1024.zip
Make sure the arrays are arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav')
-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;