Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #63 from koomai/feature/cast-casted-to-cast
Browse files Browse the repository at this point in the history
Changed casted to cast in readme
  • Loading branch information
brendt committed Sep 17, 2019
2 parents b9f49bc + 96f70df commit 585a7ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class PostCollection extends DataTransferObjectCollection

### Automatic casting of nested DTOs

If you've got nested DTO fields, data passed to the parent DTO will automatically be casted.
If you've got nested DTO fields, data passed to the parent DTO will automatically be cast.

```php
class PostData extends DataTransferObject
Expand All @@ -231,7 +231,7 @@ $postData = new PostData([

### Automatic casting of nested array DTOs

Similarly to above, nested array DTOs will automatically be casted.
Similarly to above, nested array DTOs will automatically be cast.

```php
class TagData extends DataTransferObject
Expand Down

0 comments on commit 585a7ed

Please sign in to comment.