Skip to content

Commit

Permalink
fix: allow string as type for the deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
vuryss committed Jun 24, 2024
1 parent 00cfcf3 commit 2645a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SerializerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function serialize(mixed $data): string;
* Deserializes data into the given type.
*
* @template TObject of object
* @template TType of null|class-string<TObject>
* @template TType of null|class-string<TObject>|string
*
* @psalm-param TType $type
*
Expand Down

0 comments on commit 2645a0c

Please sign in to comment.