From e74e2724b35a939ad2bf7eb0a2b2f2584da84fbe Mon Sep 17 00:00:00 2001 From: z <1205158413@qq.com> Date: Mon, 14 Jul 2025 18:56:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(src):=20=E4=BD=BF=E7=94=A8=20array=5Fmerge?= =?UTF-8?q?=20=E6=9B=BF=E4=BB=A3=20+=3D=20=E6=93=8D=E4=BD=9C=E7=AC=A6?= =?UTF-8?q?=E6=9D=A5=E5=90=88=E5=B9=B6=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Command/LocalListCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);