summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-18 16:47:16 +0100
committerGitHub <noreply@github.com>2018-01-18 16:47:16 +0100
commit0a76d72a1d06b876200167b2bd9d434ddb331d31 (patch)
tree580f195f030965f497af3745f54356012ccd2091
parent9cda3206ff53d9aeaa4339215e640da6829a5c67 (diff)
parent73a6717016741a3b6f4cb0226274ee1ea4af1024 (diff)
downloadnextcloud-server-0a76d72a1d06b876200167b2bd9d434ddb331d31.tar.gz
nextcloud-server-0a76d72a1d06b876200167b2bd9d434ddb331d31.zip
Merge pull request #7943 from nextcloud/backport/7812/make-sure-the-arrays-are-arrays
[stable13] Make sure the arrays are arrays
-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;