From c25083646ca25c99729c009edbc8425b45f3d873 Mon Sep 17 00:00:00 2001 From: Ben Holmen Date: Wed, 5 Jun 2024 09:21:52 -0500 Subject: [PATCH] Fix missing table name in db:table command (#51710) --- src/Illuminate/Database/Console/TableCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Console/TableCommand.php b/src/Illuminate/Database/Console/TableCommand.php index 0bd67e1fdba1..2a485ab39c9e 100644 --- a/src/Illuminate/Database/Console/TableCommand.php +++ b/src/Illuminate/Database/Console/TableCommand.php @@ -49,7 +49,7 @@ public function handle(ConnectionResolverInterface $connections) $table = Arr::first($tables, fn ($table) => $table['name'] === $tableName); if (! $table) { - $this->components->warn("Table [{$table}] doesn't exist."); + $this->components->warn("Table [{$tableName}] doesn't exist."); return 1; }