Merge pull request #7943 from nextcloud/backport/7812/make-sure-the-arrays-are-arrays

[stable13] Make sure the arrays are arrays
This commit is contained in:
Morris Jobke 2018-01-18 16:47:16 +01:00 committed by GitHub
commit 0a76d72a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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;