Skip to content

Commit f81f52d

Browse files
authored
Merge pull request #231 from spiks/fix/fix-enum-return-type
fix: fix EnumerationDenormalizer return type
2 parents 71d8ca0 + 2256422 commit f81f52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Denormalizer/EnumerationDenormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(private readonly StringDenormalizer $stringDenormali
3131
*
3232
* @throws ValidationError If `$data` does not meet the requirements of the denormalizer
3333
*
34-
* @return BackedEnum the same enum object as the one that was passed to `$data` argument
34+
* @psalm-return T the same enum object as the one that was passed to `$data` argument
3535
*/
3636
public function denormalize(
3737
mixed $data,

0 commit comments

Comments
 (0)