Skip to content

Commit

Permalink
update path to App/Http/Migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschlick committed Aug 23, 2017
1 parent 7922ed0 commit e00a733
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Commands/RequestMigrationMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class RequestMigrationMakeCommand extends GeneratorCommand
* @var string
*/
protected $name = 'make:request-migration';

/**
* The console command description.
*
Expand All @@ -36,17 +37,18 @@ public function handle()
*/
protected function getStub()
{
return __DIR__.'/../../stubs/migration.stub';
return __DIR__ . '/../../stubs/migration.stub';
}

/**
* Get the default namespace for the class.
*
* @param string $rootNamespace
* @param string $rootNamespace
*
* @return string
*/
protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace.'\Http\Requests\Migrations';
return $rootNamespace . '\Http\Migrations';
}
}

0 comments on commit e00a733

Please sign in to comment.