diff --git a/src/Console/PresetMakeCommand.php b/src/Console/PresetMakeCommand.php index 12dc910e..8a4c9209 100644 --- a/src/Console/PresetMakeCommand.php +++ b/src/Console/PresetMakeCommand.php @@ -60,7 +60,7 @@ protected function rootNamespace(): string return $namespace; } - switch ($this->option('name')) { + switch ($this->argument('name')) { case 'package': return 'PackageName'; case 'laravel':