Skip to content

Commit

Permalink
update FreshCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Apr 4, 2024
1 parent 72b6287 commit db4a32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/ConsoleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ protected function registerMigrateMakeCommand()
*/
protected function registerMigrateFreshCommand()
{
$this->app->singleton('command.migrate.fresh', function () {
return new MigrateFreshCommand;
$this->app->singleton('command.migrate.fresh', function ($app) {
return new MigrateFreshCommand($app['migrator']);
});
}

Expand Down

0 comments on commit db4a32c

Please sign in to comment.