Skip to content

Commit

Permalink
Merge pull request #190 from hamzaelmaghari/patch-1
Browse files Browse the repository at this point in the history
Update MakeSettingCommand.php
  • Loading branch information
rubenvanassche authored Feb 1, 2023
2 parents 83ad0e4 + da3fd72 commit de44cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/MakeSettingCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function getPath($name, $path): string

protected function getNamespace($path): string
{
$namespace = str_replace('/', '\\', trim(str_replace(base_path(), '', $path), '/')) . ';';
$namespace = str_replace('/', '\\', trim(str_replace(ucfirst(base_path()), '', $path), '/')) . ';';

return "namespace $namespace";
}
Expand Down

0 comments on commit de44cab

Please sign in to comment.