From 0bfca7b31853a0fdbedb05142cf1d3cdc4e4f69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germain=20Carr=C3=A9?= Date: Sat, 29 Jan 2022 05:03:07 +0100 Subject: [PATCH] Switching Guzzle build_query to Query::build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api.php b/src/Api.php index 0286b98..c5ec8e6 100644 --- a/src/Api.php +++ b/src/Api.php @@ -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);