Skip to content
Permalink
Browse files

Fixed missing default argument (#3988)

  • Loading branch information...
DrColossos authored and LOBsTerr committed Nov 29, 2018
1 parent d72f5c0 commit 3051dbb0c9c732657431e35de99344c16562472e
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/Command/Cron/ExecuteCommand.php
@@ -61,7 +61,8 @@ protected function configure()
->addArgument(
'module',
InputArgument::IS_ARRAY | InputArgument::OPTIONAL,
$this->trans('commands.common.options.module')
$this->trans('commands.common.options.module'),
['all']
)
->setAliases(['croe']);
}
@@ -79,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
return 1;
}
if ($modules === null || in_array('all', $modules)) {
if (in_array('all', $modules)) {
$modules = $this->moduleHandler->getImplementations('cron');
}

0 comments on commit 3051dbb

Please sign in to comment.
You can’t perform that action at this time.