Skip to content

Commit bfa5763

Browse files
authored
Merge pull request #133 from Lullabot/132-empty-array-no-params
Return empty array if there are no query params
2 parents 1c728d7 + 5651621 commit bfa5763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pass/BasePass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ protected function getQueryArray(DOMQuery $el)
249249

250250
$query = ParseUrl::parse_url($href, PHP_URL_QUERY);
251251
if ($query === null) {
252-
return false;
252+
return [];
253253
}
254254

255255
$arr = [];

0 commit comments

Comments
 (0)