diff options
author | Joas Schilling <coding@schilljs.com> | 2021-04-22 15:22:50 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-04-27 14:34:32 +0200 |
commit | 167efa19d706b1e430343554cdecd513cbb6610e (patch) | |
tree | 8f4afd2fd685a8434281046f7aa89713f7b8d798 /core/Command | |
parent | df47445c014b83d8400bada6dad53d26d24fd803 (diff) | |
download | nextcloud-server-167efa19d706b1e430343554cdecd513cbb6610e.tar.gz nextcloud-server-167efa19d706b1e430343554cdecd513cbb6610e.zip |
Fix psalm errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Upgrade.php | 14 |
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; |