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

Commit a3b094f

Browse files
author
atehnix
committed
Remove old registration of make:migration
1 parent f8e5e50 commit a3b094f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/Providers/ArtisanServiceProvider.php

-17
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
use ATehnix\LaravelStubs\Console\SeederMakeCommand;
3232
use ATehnix\LaravelStubs\Console\StubsPublishCommand;
3333
use ATehnix\LaravelStubs\Console\TestMakeCommand;
34-
use ATehnix\LaravelStubs\Database\MigrationCreator;
35-
use Illuminate\Database\Console\Migrations\MigrateMakeCommand;
3634
use Illuminate\Foundation\Providers\ArtisanServiceProvider as BaseServiceProvider;
3735

3836
class ArtisanServiceProvider extends BaseServiceProvider
@@ -286,19 +284,4 @@ protected function registerPolicyMakeCommand()
286284
return new PolicyMakeCommand($app['files']);
287285
});
288286
}
289-
290-
/**
291-
* Register the command.
292-
*
293-
* @return void
294-
*/
295-
protected function registerMigrateMakeCommand()
296-
{
297-
$this->app->singleton('command.migrate.make', function ($app) {
298-
$creator = $app[MigrationCreator::class];
299-
$composer = $app['composer'];
300-
301-
return new MigrateMakeCommand($creator, $composer);
302-
});
303-
}
304287
}

0 commit comments

Comments
 (0)