diff --git a/src/App/Command/PendingCommand.php b/src/App/Command/PendingCommand.php index d487e93..50c9165 100644 --- a/src/App/Command/PendingCommand.php +++ b/src/App/Command/PendingCommand.php @@ -39,14 +39,16 @@ class PendingCommand extends Command protected function execute(InputInterface $input, OutputInterface $output) { $pendingImports = $this->smsStoreService->getFailedImports(); - $output->writeln("Pengind SMS:"); $section = $output->section(); $table = new Table($section); + $table->setHeaderTitle("Pengind SMS:"); $table->setHeaders([ 'Id', 'Text', 'Date', ]); + $table->setColumnMaxWidth(1, 80); + $table->setColumnMaxWidth(2, 18); /** @var Sms $sms */ foreach ($pendingImports as $sms) { $table->addRow([