mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
Switching Guzzle build_query to Query::build
After Guzzle 7.2, GuzzleHttp\Psr7\build_query has been replaced by GuzzleHttp\Psr7\Query::build cf https://github.com/guzzle/guzzle/pull/2712 & https://github.com/guzzle/psr7/pull/345 Signed-off-by: Germain Carré git@germain.sh
This commit is contained in:
parent
75852ad0fe
commit
0bfca7b318
@ -263,7 +263,7 @@ class Api
|
||||
}
|
||||
}
|
||||
|
||||
$query = \GuzzleHttp\Psr7\build_query($query);
|
||||
$query = \GuzzleHttp\Psr7\Query::build($query);
|
||||
|
||||
$url = $request->getUri()->withQuery($query);
|
||||
$request = $request->withUri($url);
|
||||
|
Loading…
Reference in New Issue
Block a user