Skip to content

Commit

Permalink
Micro fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Allyans3 committed Sep 15, 2020
1 parent ab9bac1 commit 3422c63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/Responses/InspectItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ public function response()

private function decodeResponse($response)
{
$data = json_decode($response, true);

if (!$data) {
return false;
}
return json_decode($response, true);
}
}
6 changes: 1 addition & 5 deletions src/Responses/ItemPricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ public function response()

private function decodeResponse($response)
{
$data = json_decode($response, true);

if (!$data) {
return false;
}
return json_decode($response, true);
}
}

0 comments on commit 3422c63

Please sign in to comment.