Skip to content

Commit

Permalink
Merge pull request #979 from alcaeus/fix-wrong-option-usage
Browse files Browse the repository at this point in the history
Fix usage of wrong option in previously delegated commands
  • Loading branch information
alcaeus committed Jun 4, 2019
2 parents 09a3841 + 56ecbd6 commit 6a65fac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Command/Proxy/CollectionRegionDoctrineCommand.php
Expand Up @@ -26,7 +26,7 @@ protected function configure()

protected function execute(InputInterface $input, OutputInterface $output)
{
DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection'));
DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em'));

return parent::execute($input, $output);
}
Expand Down
2 changes: 1 addition & 1 deletion Command/Proxy/EntityRegionCacheDoctrineCommand.php
Expand Up @@ -26,7 +26,7 @@ protected function configure()

protected function execute(InputInterface $input, OutputInterface $output)
{
DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection'));
DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em'));

return parent::execute($input, $output);
}
Expand Down
2 changes: 1 addition & 1 deletion Command/Proxy/QueryRegionCacheDoctrineCommand.php
Expand Up @@ -26,7 +26,7 @@ protected function configure()

protected function execute(InputInterface $input, OutputInterface $output)
{
DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection'));
DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em'));

return parent::execute($input, $output);
}
Expand Down

0 comments on commit 6a65fac

Please sign in to comment.