diff --git a/src/Commands/MigrateCheckCommand.php b/src/Commands/MigrateCheckCommand.php index 01ef016..7db21e3 100644 --- a/src/Commands/MigrateCheckCommand.php +++ b/src/Commands/MigrateCheckCommand.php @@ -57,7 +57,9 @@ public function handle() ); if ($pendingMigrations) { - $this->table(['Pending migrations'], [ $pendingMigrations ]); + $this->table(['Pending migrations'], array_map(function ($migration) { + return [ $migration ]; + }, $pendingMigrations)); return 1; }