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

Make sure the arrays are arrays
This commit is contained in:
Roeland Jago Douma 2018-01-12 15:30:59 +01:00 committed by GitHub
commit 1993eb05cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;