Skip to content

Commit 9d1a33d

Browse files
authored
Merge pull request #33 from graillus/fix-default-document-manager
Let the ManagerRegistry choose the default DocumentManager
2 parents 48bff17 + 30c2297 commit 9d1a33d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Command/CommandHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function configureMigrations(ContainerInterface $container, Config
4646
}
4747

4848
/**
49-
* @param string $dmName
49+
* @param null|string $dmName
5050
*/
5151
public static function setApplicationDocumentManager(Application $application, $dmName): void
5252
{

Command/MigrationsExecuteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function configure()
2828

2929
$this
3030
->setName('mongodb:migrations:execute')
31-
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager')
31+
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.')
3232
;
3333
}
3434

Command/MigrationsGenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function configure()
2828

2929
$this
3030
->setName('mongodb:migrations:generate')
31-
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager')
31+
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.')
3232
;
3333
}
3434

Command/MigrationsMigrateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function configure()
2828

2929
$this
3030
->setName('mongodb:migrations:migrate')
31-
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager')
31+
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.')
3232
;
3333
}
3434

Command/MigrationsStatusCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function configure()
2828

2929
$this
3030
->setName('mongodb:migrations:status')
31-
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager')
31+
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.')
3232
;
3333
}
3434

Command/MigrationsVersionCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function configure()
2828

2929
$this
3030
->setName('mongodb:migrations:version')
31-
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', 'default_document_manager')
31+
->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.')
3232
;
3333
}
3434

0 commit comments

Comments
 (0)