Skip to content

Commit

Permalink
Update HelperMakeCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristories committed Oct 22, 2024
1 parent 64e3db7 commit b4a229a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Console/Commands/HelperMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class HelperMakeCommand extends GeneratorCommand
*
* @return string
*/
protected function getStub(): string
protected function getStub()
{
return base_path('stubs/helper.stub');
return __DIR__.'/stubs/helper.stub';
}

/**
Expand All @@ -43,8 +43,8 @@ protected function getStub(): string
* @param string $rootNamespace
* @return string
*/
protected function getDefaultNamespace($rootNamespace): string
protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace . '\\' . config('helpers.directory', 'Helpers');
return $rootNamespace.'\\'.config('helpers.directory', 'Helpers');
}
}

0 comments on commit b4a229a

Please sign in to comment.