diff --git a/Command/CommandHelper.php b/Command/CommandHelper.php index 979265f..83c319c 100644 --- a/Command/CommandHelper.php +++ b/Command/CommandHelper.php @@ -46,7 +46,7 @@ public static function configureMigrations(ContainerInterface $container, Config } /** - * @param string $dmName + * @param null|string $dmName */ public static function setApplicationDocumentManager(Application $application, $dmName): void { diff --git a/Command/MigrationsExecuteCommand.php b/Command/MigrationsExecuteCommand.php index 31e2580..8ec900e 100644 --- a/Command/MigrationsExecuteCommand.php +++ b/Command/MigrationsExecuteCommand.php @@ -28,7 +28,7 @@ protected function configure() $this ->setName('mongodb:migrations:execute') - ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager') + ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.') ; } diff --git a/Command/MigrationsGenerateCommand.php b/Command/MigrationsGenerateCommand.php index 2218df3..593ccc0 100644 --- a/Command/MigrationsGenerateCommand.php +++ b/Command/MigrationsGenerateCommand.php @@ -28,7 +28,7 @@ protected function configure() $this ->setName('mongodb:migrations:generate') - ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager') + ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.') ; } diff --git a/Command/MigrationsMigrateCommand.php b/Command/MigrationsMigrateCommand.php index 73a2ada..bbd107e 100644 --- a/Command/MigrationsMigrateCommand.php +++ b/Command/MigrationsMigrateCommand.php @@ -28,7 +28,7 @@ protected function configure() $this ->setName('mongodb:migrations:migrate') - ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager') + ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.') ; } diff --git a/Command/MigrationsStatusCommand.php b/Command/MigrationsStatusCommand.php index 226a849..a48f761 100644 --- a/Command/MigrationsStatusCommand.php +++ b/Command/MigrationsStatusCommand.php @@ -28,7 +28,7 @@ protected function configure() $this ->setName('mongodb:migrations:status') - ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager') + ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.') ; } diff --git a/Command/MigrationsVersionCommand.php b/Command/MigrationsVersionCommand.php index 42d262f..787a5f8 100644 --- a/Command/MigrationsVersionCommand.php +++ b/Command/MigrationsVersionCommand.php @@ -28,7 +28,7 @@ protected function configure() $this ->setName('mongodb:migrations:version') - ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager') + ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.') ; }