Commaaa2
This commit is contained in:
3
vendor/laravel/framework/src/Illuminate/Database/MigrationServiceProvider.php
vendored
Normal file → Executable file
3
vendor/laravel/framework/src/Illuminate/Database/MigrationServiceProvider.php
vendored
Normal file → Executable file
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Illuminate\Database;
|
||||
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Illuminate\Contracts\Support\DeferrableProvider;
|
||||
use Illuminate\Database\Console\Migrations\FreshCommand;
|
||||
use Illuminate\Database\Console\Migrations\InstallCommand;
|
||||
@@ -116,7 +117,7 @@ class MigrationServiceProvider extends ServiceProvider implements DeferrableProv
|
||||
protected function registerMigrateCommand()
|
||||
{
|
||||
$this->app->singleton('command.migrate', function ($app) {
|
||||
return new MigrateCommand($app['migrator']);
|
||||
return new MigrateCommand($app['migrator'], $app[Dispatcher::class]);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user