We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9d508a + ae2e840 commit 13d94b0Copy full SHA for 13d94b0
src/main/resources/handlebars/php/api.mustache
@@ -448,7 +448,7 @@ use {{invokerPackage}}\ObjectSerializer;
448
449
} else {
450
// for HTTP post (form)
451
- $httpBody = \GuzzleHttp\Psr7\build_query($formParams);
+ $httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
452
}
453
454
@@ -491,7 +491,7 @@ use {{invokerPackage}}\ObjectSerializer;
491
$headers
492
);
493
494
- $query = \GuzzleHttp\Psr7\build_query($queryParams);
+ $query = \GuzzleHttp\Psr7\Query::build($queryParams);
495
return new Request(
496
'{{httpMethod}}',
497
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
0 commit comments