Skip to content

Commit

Permalink
Add missing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Jan 25, 2024
1 parent ea82f9f commit 42edc61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/advanced/response-decoder.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ To create a mapper, your decoder must also implements [`MapperInterface`](https:

+++ Decoder
```php
use Fansipan\Contracts\DecoderInterface;
use Fansipan\Contracts\MapperInterface;

final class MyUserMapperDecoder implements MapperInterface
final class MyUserMapperDecoder implements DecoderInterface, MapperInterface
{
public function decode(ResponseInterface $response): iterable
{
Expand Down

0 comments on commit 42edc61

Please sign in to comment.