Skip to content

Commit

Permalink
Neaten list command for components in the double digits
Browse files Browse the repository at this point in the history
  • Loading branch information
chevli committed Jan 22, 2018
1 parent 24ac2c8 commit 1825dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/Command/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
/* @var \CtiDigital\Configurator\Model\Component\ComponentAbstract $componentClass */
$componentClass = $this->objectManagerInterface->create($component['class']);
$comment =
str_pad($count.')', 3)
str_pad($count.') ', 4)
. str_pad($componentClass->getComponentAlias(), 20)
. ' - ' . $componentClass->getDescription();
$output->writeln('<comment>' . $comment . '</comment>');
Expand Down

0 comments on commit 1825dc4

Please sign in to comment.