Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #248 from seregazhuk/develop
Browse files Browse the repository at this point in the history
fix: Pagination
  • Loading branch information
seregazhuk authored Mar 16, 2017
2 parents f5b6b13 + 2e74ddc commit fcf40d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ protected function getResultsFromResponse(PaginatedResponse $response)
{
$results = $response->getResponseData();

return $results ? : [];
return $results === false ? [] : $results;
}
}

0 comments on commit fcf40d1

Please sign in to comment.