1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-02 04:24:56 +02:00

[ticket/12655] Fix coding style in \phpbb\console\application

PHPBB3-12655
This commit is contained in:
Tristan Darricau 2014-06-04 21:08:11 +02:00
parent a14d16172c
commit 99ebf4b8dd

View File

@ -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();