From 281a8f2fb53bdbd1b07e006186bded91ecffecfa Mon Sep 17 00:00:00 2001 From: Alex Wells Date: Thu, 2 Nov 2023 14:58:24 +0200 Subject: [PATCH] fix: Invalid return type from serializer adapter --- src/GoodPhp/Serialization/Serializer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GoodPhp/Serialization/Serializer.php b/src/GoodPhp/Serialization/Serializer.php index dd58121..4557c6e 100644 --- a/src/GoodPhp/Serialization/Serializer.php +++ b/src/GoodPhp/Serialization/Serializer.php @@ -14,10 +14,10 @@ interface Serializer public function reflector(): Reflector; /** - * @template T + * @template T of mixed * @template A of TypeAdapter * - * @param class-string $typeAdapterType + * @param class-string $typeAdapterType * @param Type|class-string $type * * @return A