From b5f1296d1ff978e29eb41400ece13096ab636263 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 11 Nov 2016 11:27:39 +0100 Subject: [PATCH] Make sure they are always arrays Signed-off-by: Joas Schilling --- lib/private/Activity/Manager.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php index c4f3d348db..35668a267e 100644 --- a/lib/private/Activity/Manager.php +++ b/lib/private/Activity/Manager.php @@ -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;