diff --git a/src/Illuminate/Foundation/Console/EnumMakeCommand.php b/src/Illuminate/Foundation/Console/EnumMakeCommand.php index a7cfb87c9318..301ad96e1764 100644 --- a/src/Illuminate/Foundation/Console/EnumMakeCommand.php +++ b/src/Illuminate/Foundation/Console/EnumMakeCommand.php @@ -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', }; }