Skip to content

Commit b94eaea

Browse files
Merge branch '9.19' into 10.0
2 parents e4e16ef + 3e145a5 commit b94eaea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Api/AbstractApi.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ protected function createOptionsResolver()
224224
*/
225225
private static function prepareUri(string $uri, array $query = [])
226226
{
227+
$query = array_filter($query, function ($value): bool {
228+
return null !== $value;
229+
});
230+
227231
return sprintf('%s%s%s', self::URI_PREFIX, $uri, QueryStringBuilder::build($query));
228232
}
229233

0 commit comments

Comments
 (0)