Open captain-igloo opened 1 day ago
The following code throws an error under version 3.31.0 but not under 3.30.0:
class Foo { public float|int|null $a = 99; } $serializer = SerializerBuilder::create()->build(); $serializer->serialize(new Foo(), 'json');
The error is:
In Parser.php line 30: JMS\Serializer\Type\Parser::parse(): Return value must be of type array, null returned
I have the same problem 🙁
Thanks! I will take a look in the evening on this issue.
Same here. Thank you for taking a look ;)
The following code throws an error under version 3.31.0 but not under 3.30.0:
The error is: