Skip to content

Commit

Permalink
fix: namespace space issue
Browse files Browse the repository at this point in the history
  • Loading branch information
joy2362 committed Jun 13, 2023
1 parent 7c8e2e6 commit 5b53656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/CSGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5b53656

Please sign in to comment.