File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/resources/handlebars/php Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ use {{invokerPackage}}\ObjectSerializer;
448
448
449
449
} else {
450
450
// for HTTP post (form)
451
- $httpBody = \GuzzleHttp\Psr7\build_query ($formParams );
451
+ $httpBody = \GuzzleHttp\Psr7\Query::build ($formParams );
452
452
}
453
453
}
454
454
@@ -491,7 +491,7 @@ use {{invokerPackage}}\ObjectSerializer;
491
491
$headers
492
492
);
493
493
494
- $query = \GuzzleHttp\Psr7\build_query ($queryParams);
494
+ $query = \GuzzleHttp\Psr7\Query::build ($queryParams);
495
495
return new Request(
496
496
'{ {httpMethod} }',
497
497
$this->config->getHost() . $resourcePath . ($query ? "?{ $query } " : ''),
Original file line number Diff line number Diff line change 23
23
" ext-curl" : " *" ,
24
24
" ext-json" : " *" ,
25
25
" ext-mbstring" : " *" ,
26
- " guzzlehttp/guzzle" : " ^6.2"
26
+ " guzzlehttp/guzzle" : " ^6.2|^7.0 "
27
27
} ,
28
28
"require-dev": {
29
29
" phpunit/phpunit" : " ^4.8" ,
You can’t perform that action at this time.
0 commit comments