You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have simple DTO with property that has data type mixed
class MixedTypeConstructorDto
{
public function __construct(
//phpcs:ignore SlevomatCodingStandard.Classes.RequireSingleLineMethodSignature.RequiredSingleLineSignature
#[Groups(["api"])]
public mixed $mixed,
) {
}
}
Symfony version(s) affected
7.1.1
Description
When I have simple DTO with property that has data type mixed
deserialization is failing on call to undefined function
is_mixed
. I can see this is already fixed in https://github.com/symfony/serializer/blob/7.1/Normalizer/AbstractObjectNormalizer.php but no new version was released so can we please release it?How to reproduce
Deserialize anything to class with mixed property
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: