Skip to content

Commit

Permalink
Update TraitMakeCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 16, 2024
1 parent c9b3d10 commit ba93f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/TraitMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ protected function resolveStubPath($stub)
protected function getDefaultNamespace($rootNamespace)
{
return match (true) {
is_dir(app_path('Traits')) => $rootNamespace.'\\Traits',
is_dir(app_path('Concerns')) => $rootNamespace.'\\Concerns',
is_dir(app_path('Traits')) => $rootNamespace.'\\Traits',
default => $rootNamespace,
};
}
Expand Down

0 comments on commit ba93f31

Please sign in to comment.