Skip to content

Commit 5649b2a

Browse files
authored
Merge pull request #132 from php-api-clients/pass-all-params-into-operation-request-creation
Pall all params into operation request creation
2 parents d4a074c + e239075 commit 5649b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ private static function makeCall(\ApiClients\Tools\OpenApiClientGenerator\Repres
804804
)
805805
)),
806806
new Node\Stmt\Expression(new Node\Expr\Assign(new Node\Expr\Variable('request'), new Node\Expr\MethodCall(new Node\Expr\Variable('operation'), 'createRequest', [
807-
new Arg(new Node\Expr\Variable(new Node\Name('requestBodyData')))
807+
new Arg(new Node\Expr\Variable(new Node\Name('params')))
808808
]))),
809809
$calWrap(new Node\Expr\MethodCall(
810810
new Node\Expr\MethodCall(

0 commit comments

Comments
 (0)