Skip to content

Commit

Permalink
Merge pull request #133 from Lullabot/132-empty-array-no-params
Browse files Browse the repository at this point in the history
Return empty array if there are no query params
  • Loading branch information
sidkshatriya authored Aug 14, 2016
2 parents 1c728d7 + 5651621 commit bfa5763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pass/BasePass.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ protected function getQueryArray(DOMQuery $el)

$query = ParseUrl::parse_url($href, PHP_URL_QUERY);
if ($query === null) {
return false;
return [];
}

$arr = [];
Expand Down

0 comments on commit bfa5763

Please sign in to comment.