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; }