Skip to content

Commit f7eb7b6

Browse files
committed
Fix coding style
1 parent 75387eb commit f7eb7b6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

console/command/container/debug.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Symfony\Component\Console\Output\OutputInterface;
2121
use Symfony\Component\DependencyInjection\Alias;
2222
use Symfony\Component\DependencyInjection\Definition;
23-
use Symfony\Component\DependencyInjection\ContainerBuilder;
2423
use Symfony\Component\DependencyInjection\Reference;
2524

2625
/**
@@ -31,7 +30,7 @@
3130
class debug extends \phpbb\console\command\command
3231
{
3332
/**
34-
* @var ContainerBuilder|null
33+
* @var \Symfony\Component\DependencyInjection\ContainerBuilder|null
3534
*/
3635
protected $containerBuilder;
3736

@@ -168,7 +167,7 @@ protected function validateInput(InputInterface $input)
168167
{
169168
throw new \InvalidArgumentException($this->user->lang('NICOFUMA_DEBUGTOOLS_CLI_EXCEPTION_CONTAINER_DEBUG_INCOMPATIBLE_OPTIONS_ARGUMENTS'));
170169
}
171-
elseif ((null === $name) && $optionsCount > 1)
170+
else if ((null === $name) && $optionsCount > 1)
172171
{
173172
throw new \InvalidArgumentException($this->user->lang('NICOFUMA_DEBUGTOOLS_CLI_EXCEPTION_CONTAINER_DEBUG_INCOMPATIBLE_OPTIONS'));
174173
}
@@ -297,7 +296,7 @@ protected function outputServices(OutputInterface $output, $serviceIds, $showPri
297296
$output->writeln(vsprintf($format, $arguments));
298297
}
299298
}
300-
elseif ($definition instanceof Alias)
299+
else if ($definition instanceof Alias)
301300
{
302301
$alias = $definition;
303302
$output->writeln(vsprintf($format, $this->buildArgumentsArray($serviceId, 'n/a', sprintf('<comment>' . $this->user->lang('ALIAS_FOR') . '</comment> <info>%s</info>', (string) $alias), count($maxTags) ? array_fill(0, count($maxTags), "") : array())));
@@ -400,7 +399,7 @@ protected function outputService(OutputInterface $output, $serviceId)
400399
$file = $definition->getFile() ? $definition->getFile() : '-';
401400
$output->writeln(sprintf('<comment>' . $this->user->lang('REQUIRED_FILE') . '</comment> %s', $file));
402401
}
403-
elseif ($definition instanceof Alias)
402+
else if ($definition instanceof Alias)
404403
{
405404
$alias = $definition;
406405
$output->writeln($this->user->lang('NICOFUMA_DEBUGTOOLS_CLI_CONTAINER_SERVICE_ALIAS_FOR', (string) $alias));
@@ -467,7 +466,7 @@ protected function outputParameters(OutputInterface $output, $parameters)
467466
/**
468467
* Loads the ContainerBuilder from the cache.
469468
*
470-
* @return ContainerBuilder
469+
* @return \Symfony\Component\DependencyInjection\ContainerBuilder
471470
*
472471
* @throws \LogicException
473472
*/

0 commit comments

Comments
 (0)