aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Db/Migrations/MigrateCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Db/Migrations/MigrateCommand.php')
-rw-r--r--core/Command/Db/Migrations/MigrateCommand.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Command/Db/Migrations/MigrateCommand.php b/core/Command/Db/Migrations/MigrateCommand.php
index f0f35716997..b438da00541 100644
--- a/core/Command/Db/Migrations/MigrateCommand.php
+++ b/core/Command/Db/Migrations/MigrateCommand.php
@@ -33,10 +33,7 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class MigrateCommand extends Command implements CompletionAwareInterface {
- private Connection $connection;
-
- public function __construct(Connection $connection) {
- $this->connection = $connection;
+ public function __construct(private Connection $connection) {
parent::__construct();
}