Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-22 16:22:50 +0300
committerJoas Schilling <coding@schilljs.com>2021-04-27 15:34:32 +0300
commit167efa19d706b1e430343554cdecd513cbb6610e (patch)
tree8f4afd2fd685a8434281046f7aa89713f7b8d798 /core/Command/Upgrade.php
parentdf47445c014b83d8400bada6dad53d26d24fd803 (diff)
Fix psalm errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command/Upgrade.php')
-rw-r--r--core/Command/Upgrade.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index 9dc1c4642b5..7ad3360c1bc 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -37,8 +37,8 @@ use OC\Console\TimestampFormatter;
use OC\Installer;
use OC\Updater;
use OCP\IConfig;
-use OCP\ILogger;
use OCP\Util;
+use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Input\InputInterface;
@@ -56,15 +56,13 @@ class Upgrade extends Command {
/** @var IConfig */
private $config;
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
- /**
- * @param IConfig $config
- * @param ILogger $logger
- * @param Installer $installer
- */
- public function __construct(IConfig $config, ILogger $logger, Installer $installer) {
+ /** @var Installer */
+ private $installer;
+
+ public function __construct(IConfig $config, LoggerInterface $logger, Installer $installer) {
parent::__construct();
$this->config = $config;
$this->logger = $logger;