diff options
Diffstat (limited to 'core/Command/Db')
-rw-r--r-- | core/Command/Db/ConvertMysqlToMB4.php | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/core/Command/Db/ConvertMysqlToMB4.php b/core/Command/Db/ConvertMysqlToMB4.php index 7abd600b3b9..28f7ae6b2fa 100644 --- a/core/Command/Db/ConvertMysqlToMB4.php +++ b/core/Command/Db/ConvertMysqlToMB4.php @@ -30,8 +30,8 @@ use OC\Migration\ConsoleOutput; use OC\Repair\Collation; use OCP\IConfig; use OCP\IDBConnection; -use OCP\ILogger; use OCP\IURLGenerator; +use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; @@ -46,16 +46,14 @@ class ConvertMysqlToMB4 extends Command { /** @var IURLGenerator */ private $urlGenerator; - /** @var ILogger */ - private $logger; + private LoggerInterface $logger; - /** - * @param IConfig $config - * @param IDBConnection $connection - * @param IURLGenerator $urlGenerator - * @param ILogger $logger - */ - public function __construct(IConfig $config, IDBConnection $connection, IURLGenerator $urlGenerator, ILogger $logger) { + public function __construct( + IConfig $config, + IDBConnection $connection, + IURLGenerator $urlGenerator, + LoggerInterface $logger + ) { $this->config = $config; $this->connection = $connection; $this->urlGenerator = $urlGenerator; |