From 5b53656c59b971fd15a1484b8373f91fb89e968b Mon Sep 17 00:00:00 2001 From: joy2362 Date: Tue, 13 Jun 2023 06:28:04 +0600 Subject: [PATCH] fix: namespace space issue --- src/Command/CSGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(