Skip to content

Commit 73af26a

Browse files
stas17m1guelpf
authored andcommitted
fix
1 parent 61051f8 commit 73af26a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/Gitlab/HttpClient/Message/QueryStringBuilder.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ public static function build($query)
1818
return static::rawurlencode($query);
1919
}
2020
$query = array_filter($query, function ($value) {
21-
if (null === $value) {
22-
return false;
23-
}
24-
return true;
21+
return (null !== $value);
2522
});
2623

2724
return implode('&', array_map(function ($value, $key) {

0 commit comments

Comments
 (0)