aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/application.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/console/application.php')
-rw-r--r--phpBB/phpbb/console/application.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/application.php b/phpBB/phpbb/console/application.php
index eb8094e65f..99fb5fbe97 100644
--- a/phpBB/phpbb/console/application.php
+++ b/phpBB/phpbb/console/application.php
@@ -31,7 +31,12 @@ class application extends \Symfony\Component\Console\Application
{
parent::__construct($name, $version);
- $this->getDefinition()->addOption(new InputOption('--shell', '-s', InputOption::VALUE_NONE, $user->lang('CLI_DESCRIPTION_OPTION_SHELL')));
+ $this->getDefinition()->addOption(new InputOption(
+ '--shell',
+ '-s',
+ InputOption::VALUE_NONE,
+ $user->lang('CLI_DESCRIPTION_OPTION_SHELL')
+ ));
}
/**
@@ -53,7 +58,8 @@ class application extends \Symfony\Component\Console\Application
*/
public function doRun(InputInterface $input, OutputInterface $output)
{
- if ($input->hasParameterOption(array('--shell', '-s')) === true) {
+ if ($input->hasParameterOption(array('--shell', '-s')) === true)
+ {
$shell = new Shell($this);
$shell->run();