diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-04 21:08:11 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-04 21:08:11 +0200 |
commit | 99ebf4b8ddb53c796247fda7993f8999ceb16816 (patch) | |
tree | fd6bc39be008fef7f65b2e555075f07b4241285c | |
parent | a14d16172c26fd8f849be4d3afcaac93b6dc4086 (diff) | |
download | forums-99ebf4b8ddb53c796247fda7993f8999ceb16816.tar forums-99ebf4b8ddb53c796247fda7993f8999ceb16816.tar.gz forums-99ebf4b8ddb53c796247fda7993f8999ceb16816.tar.bz2 forums-99ebf4b8ddb53c796247fda7993f8999ceb16816.tar.xz forums-99ebf4b8ddb53c796247fda7993f8999ceb16816.zip |
[ticket/12655] Fix coding style in \phpbb\console\application
PHPBB3-12655
-rw-r--r-- | phpBB/phpbb/console/application.php | 10 |
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(); |