1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

make MigrateFreshOverride compatible with Laravel 11.2

This commit is contained in:
Samuel Štancl 2024-04-02 20:19:15 +02:00
parent 1d80604cff
commit 711352db38
2 changed files with 3 additions and 3 deletions

View file

@ -95,8 +95,8 @@ class TenancyServiceProvider extends ServiceProvider
Commands\CreatePendingTenants::class,
]);
$this->app->extend(FreshCommand::class, function () {
return new Commands\MigrateFreshOverride;
$this->app->extend(FreshCommand::class, function ($_, $app) {
return new Commands\MigrateFreshOverride($app['migrator']);
});
$this->publishes([