Skip to content

Commit

Permalink
Fix missing table name in db:table command (#51710)
Browse files Browse the repository at this point in the history
  • Loading branch information
benholmen authored Jun 5, 2024
1 parent 92d1efd commit c250836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Console/TableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c250836

Please sign in to comment.