Skip to content

Commit 5a22d94

Browse files
authored
docs(mapper): fix MapTo typo (#1607)
1 parent 2d6fa1b commit 5a22d94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/2-features/01-mapper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $book = map(['book_title' => 'Timeline Taxi'])->to(Book::class);
9494
Similarly, you can use the {b`#[Tempest\Mapper\MapTo]`} attribute to specify the key that will be used when serializing the object to an array or a JSON string.
9595

9696
```php
97-
use Tempest\Mapper\MapFrom;
97+
use Tempest\Mapper\MapTo;
9898

9999
final class Book
100100
{

0 commit comments

Comments
 (0)