summaryrefslogtreecommitdiffstats
path: root/lib/private/Activity
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-11 11:27:39 +0100
committerJoas Schilling <coding@schilljs.com>2016-11-16 09:25:46 +0100
commitb5f1296d1ff978e29eb41400ece13096ab636263 (patch)
treeb35ba1841b633ac88d80a26267a6098133e4ce24 /lib/private/Activity
parent1dc23f2fd62ca8beb5d12c5dfb04b54ee4ffcf76 (diff)
downloadnextcloud-server-b5f1296d1ff978e29eb41400ece13096ab636263.tar.gz
nextcloud-server-b5f1296d1ff978e29eb41400ece13096ab636263.zip
Make sure they are always arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Activity')
-rw-r--r--lib/private/Activity/Manager.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php
index c4f3d348dbe..35668a267ee 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;