Skip to content

Commit

Permalink
fix: Invalid return type from serializer adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
autaut03 committed Nov 2, 2023
1 parent 0de9eca commit 281a8f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GoodPhp/Serialization/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ interface Serializer
public function reflector(): Reflector;

/**
* @template T
* @template T of mixed
* @template A of TypeAdapter<T>
*
* @param class-string<T> $typeAdapterType
* @param class-string<A> $typeAdapterType
* @param Type|class-string<T> $type
*
* @return A
Expand Down

0 comments on commit 281a8f2

Please sign in to comment.