Skip to content

Commit

Permalink
ref: add default namespace of enum to Enums directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipesh79 committed Nov 30, 2024
1 parent 14677ad commit 3bc0541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/EnumMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function getDefaultNamespace($rootNamespace)
return match (true) {
is_dir(app_path('Enums')) => $rootNamespace.'\\Enums',
is_dir(app_path('Enumerations')) => $rootNamespace.'\\Enumerations',
default => $rootNamespace,
default => $rootNamespace.'\\Enums',
};
}

Expand Down

0 comments on commit 3bc0541

Please sign in to comment.