Make sure they are always arrays

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2016-11-11 11:27:39 +01:00
parent 1dc23f2fd6
commit b5f1296d1f
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 6 additions and 6 deletions

View File

@ -252,10 +252,10 @@ class Manager implements IManager {
}
/** @var string[] */
protected $filterClasses;
protected $filterClasses = [];
/** @var IFilter[] */
protected $filters;
protected $filters = [];
/** @var bool */
protected $loadedLegacyFilters = false;
@ -322,10 +322,10 @@ class Manager implements IManager {
}
/** @var string[] */
protected $providerClasses;
protected $providerClasses = [];
/** @var IProvider[] */
protected $providers;
protected $providers = [];
/**
* @param string $provider Class must implement OCA\Activity\IProvider
@ -356,10 +356,10 @@ class Manager implements IManager {
}
/** @var string[] */
protected $settingsClasses;
protected $settingsClasses = [];
/** @var ISetting[] */
protected $settings;
protected $settings = [];
/** @var bool */
protected $loadedLegacyTypes = false;