diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-08-01 09:25:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 09:25:09 +0200 |
commit | 2b895e0c60b6f283cb26b2ca0e18a05497103bc2 (patch) | |
tree | 85e00c12d8a0e507d46c11ec4cba67fc31aae67e /core/ajax | |
parent | 456392e627de3aad19c8188974a4972cf4e274db (diff) | |
parent | 2fae696d35d221a9fb25b90b90b32c35c81fdd45 (diff) | |
download | nextcloud-server-2b895e0c60b6f283cb26b2ca0e18a05497103bc2.tar.gz nextcloud-server-2b895e0c60b6f283cb26b2ca0e18a05497103bc2.zip |
Merge pull request #5847 from nextcloud/make-phan-config-more-strict-2
Phan fixes
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')); |