We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071183f commit 9c4cdd8Copy full SHA for 9c4cdd8
src/Http/Pagination.php
@@ -2,7 +2,7 @@
2
namespace bunq\Http;
3
4
use bunq\Exception\BunqException;
5
-use function GuzzleHttp\Psr7\parse_query;
+use GuzzleHttp\Psr7\Query;
6
7
/**
8
*/
@@ -123,7 +123,7 @@ private static function updatePaginationBodyIdFieldFromResponseField(
123
124
if (!is_null($url)) {
125
$urlQuery = parse_url($url, PHP_URL_QUERY);
126
- $parameters = parse_query($urlQuery);
+ $parameters = Query::parse($urlQuery);
127
$paginationBody[$idField] = $parameters[$responseParam];
128
129
if (isset($parameters[self::PARAM_COUNT]) && !isset($paginationBody[self::PARAM_COUNT])) {
0 commit comments