Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypostal authored Aug 20, 2024
1 parent 8e52941 commit 691077d
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 @@ -92,7 +92,7 @@ class MyObject {
```

Also, if you have a property that is an array of other object, you must inform the class in the attribute using the ``type`` option.
This will work as a hint so the hydrator can instantiate the appropriate object.
This will work as a hint so the hydrator can instantiate the appropriate object. This works with enums as well.
```php
use \Andrey\JsonHandler\JsonItemAttribute;
use \MyNamespace\MyOtherObj;
Expand Down

0 comments on commit 691077d

Please sign in to comment.