diff --git a/src/Command/CSGenerator.php b/src/Command/CSGenerator.php index b3d5c4b..6c1e011 100644 --- a/src/Command/CSGenerator.php +++ b/src/Command/CSGenerator.php @@ -115,7 +115,7 @@ public function getControllerStubVariables(): array 'CLASS' => $this->argument('name') . "Controller", 'SERVICE' => $this->argument('name') . "Service", 'SERVICE-NAMESPACE' => $this->nameSpace . "\\" . $this->argument('name') . "Service", - 'REQUEST-NAMESPACE' => $this->option('api') ? 'use' . $this->RequestNameSpace . "\\" . $this->argument( + 'REQUEST-NAMESPACE' => $this->option('api') ? 'use ' . $this->RequestNameSpace . "\\" . $this->argument( 'name' ) . "Request" : '', 'REQUEST' => $this->option('api') ? $this->argument(