diff --git a/.travis.yml b/.travis.yml index fbad42e..e438a90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ addons: - libcurl4-openssl-dev language: php +dist: focal php: + - 8.1.0 + - 8.0 - 7.4 before_script: 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);