diff --git a/src/Command/LocalListCommand.php b/src/Command/LocalListCommand.php index df61936..0d67c4e 100644 --- a/src/Command/LocalListCommand.php +++ b/src/Command/LocalListCommand.php @@ -41,10 +41,10 @@ public function __invoke(): int } else { $current[] = $info['author'][0]['name'] ?? '--'; } - $current += [ + $current = array_merge($current, [ $info['homePage'] ?? '--', $info['status'] ? 'installed' : 'uninstalled', - ]; + ]); $rows[] = $current; } $this->table($headers, $rows);