diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-19 15:37:03 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:13 +0200 |
commit | e1f52fc9019856d52466d9b796ce738e31f1c4ca (patch) | |
tree | 489387720f34360dc58e9f29fb800e1e2af26145 /core/ajax | |
parent | 456392e627de3aad19c8188974a4972cf4e274db (diff) | |
download | nextcloud-server-e1f52fc9019856d52466d9b796ce738e31f1c4ca.tar.gz nextcloud-server-e1f52fc9019856d52466d9b796ce738e31f1c4ca.zip |
Stricter phan config fixes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index d23e3b0d56d..818291d3eff 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -50,6 +50,10 @@ class FeedBackHandler { private $progressStateStep = 0; /** @var string */ private $currentStep; + /** @var \OCP\IEventSource */ + private $eventSource; + /** @var \OCP\IL10N */ + private $l10n; public function __construct(\OCP\IEventSource $eventSource, \OCP\IL10N $l10n) { $this->eventSource = $eventSource; @@ -220,7 +224,7 @@ if (OC::checkUpgrade(false)) { if (!empty($disabledApps)) { $eventSource->send('notice', - (string)$l->t('Following apps have been disabled: %s', implode(', ', $disabledApps))); + (string)$l->t('Following apps have been disabled: %s', [implode(', ', $disabledApps)])); } } else { $eventSource->send('notice', (string)$l->t('Already up to date')); |