Skip to content

Commit

Permalink
Revise the README and PHPDoc (#511)
Browse files Browse the repository at this point in the history
Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia committed Dec 30, 2023
1 parent fa7059c commit 1dc3ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ This works with all `Castable`, including `DTOCast` and `ModelCast` for nested d

This works with arrays and JSON strings. This will validate the data and also cast the data for the given DTO.

This will throw a `Illuminate\Validation\ValidationException` exception if the data is not valid for the DTO.
This will throw a `Hyperf\Validation\ValidationException` exception if the data is not valid for the DTO.

This will throw a `FriendsOfHyperf\ValidatedDTO\Exception\CastException` exception if the property is not a valid
array or valid JSON string.
Expand Down

0 comments on commit 1dc3ae5

Please sign in to comment.