Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Remove old registration of make:migration
Browse files Browse the repository at this point in the history
  • Loading branch information
atehnix committed Oct 18, 2019
1 parent f8e5e50 commit a3b094f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Providers/ArtisanServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
use ATehnix\LaravelStubs\Console\SeederMakeCommand;
use ATehnix\LaravelStubs\Console\StubsPublishCommand;
use ATehnix\LaravelStubs\Console\TestMakeCommand;
use ATehnix\LaravelStubs\Database\MigrationCreator;
use Illuminate\Database\Console\Migrations\MigrateMakeCommand;
use Illuminate\Foundation\Providers\ArtisanServiceProvider as BaseServiceProvider;

class ArtisanServiceProvider extends BaseServiceProvider
Expand Down Expand Up @@ -286,19 +284,4 @@ protected function registerPolicyMakeCommand()
return new PolicyMakeCommand($app['files']);
});
}

/**
* Register the command.
*
* @return void
*/
protected function registerMigrateMakeCommand()
{
$this->app->singleton('command.migrate.make', function ($app) {
$creator = $app[MigrationCreator::class];
$composer = $app['composer'];

return new MigrateMakeCommand($creator, $composer);
});
}
}

0 comments on commit a3b094f

Please sign in to comment.