From 1825dc4482187b2fcb3169afd55e654bac4af5c9 Mon Sep 17 00:00:00 2001 From: Raj Chevli Date: Mon, 22 Jan 2018 14:09:38 +0000 Subject: [PATCH] Neaten list command for components in the double digits --- Console/Command/ListCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console/Command/ListCommand.php b/Console/Command/ListCommand.php index 1738853..ae980bb 100644 --- a/Console/Command/ListCommand.php +++ b/Console/Command/ListCommand.php @@ -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 . '');