Skip to content

Commit

Permalink
Use local method
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Jan 5, 2024
1 parent f5b0c15 commit fe40221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mapper/GenericMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct(
public function map(ResponseInterface $response): ?object
{
$status = $response->getStatusCode();
$decoded = $this->decoder->decode($response);
$decoded = $this->decode($response);

if ($status >= 200 && $status < 300) {
return ($this->onSuccess)($decoded);
Expand Down

0 comments on commit fe40221

Please sign in to comment.