Make sure they are always arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1dc23f2fd6
commit
b5f1296d1f
|
@ -252,10 +252,10 @@ class Manager implements IManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var string[] */
|
/** @var string[] */
|
||||||
protected $filterClasses;
|
protected $filterClasses = [];
|
||||||
|
|
||||||
/** @var IFilter[] */
|
/** @var IFilter[] */
|
||||||
protected $filters;
|
protected $filters = [];
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
protected $loadedLegacyFilters = false;
|
protected $loadedLegacyFilters = false;
|
||||||
|
@ -322,10 +322,10 @@ class Manager implements IManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var string[] */
|
/** @var string[] */
|
||||||
protected $providerClasses;
|
protected $providerClasses = [];
|
||||||
|
|
||||||
/** @var IProvider[] */
|
/** @var IProvider[] */
|
||||||
protected $providers;
|
protected $providers = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $provider Class must implement OCA\Activity\IProvider
|
* @param string $provider Class must implement OCA\Activity\IProvider
|
||||||
|
@ -356,10 +356,10 @@ class Manager implements IManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var string[] */
|
/** @var string[] */
|
||||||
protected $settingsClasses;
|
protected $settingsClasses = [];
|
||||||
|
|
||||||
/** @var ISetting[] */
|
/** @var ISetting[] */
|
||||||
protected $settings;
|
protected $settings = [];
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
protected $loadedLegacyTypes = false;
|
protected $loadedLegacyTypes = false;
|
||||||
|
|
Loading…
Reference in New Issue