Skip to content

Commit

Permalink
Micro fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Allyans3 committed Nov 21, 2020
1 parent 802ff42 commit d3c0c4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Responses/ItemPricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ private function decodeResponse($response)
{
$data = json_decode($response, true);

if (!$data) {
return false;
}

return $this->completeData($data);
}

Expand Down

0 comments on commit d3c0c4a

Please sign in to comment.