diff --git a/src/Oauth1.php b/src/Oauth1.php index a81c109..e657576 100644 --- a/src/Oauth1.php +++ b/src/Oauth1.php @@ -203,7 +203,7 @@ protected function createBaseString(RequestInterface $request, array $params) { // Remove query params from URL. Ref: Spec: 9.1.2. $url = $request->getUri()->withQuery(''); - $query = http_build_query($params, '', '&', PHP_QUERY_RFC3986); + $query = \GuzzleHttp\Psr7\build_query($params, PHP_QUERY_RFC3986); return strtoupper($request->getMethod()) . '&' . rawurlencode($url)