schmittjoh / JMSSerializerBundle

Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
http://jmsyst.com/bundles/JMSSerializerBundle
MIT License
1.8k stars 312 forks source link

Add return types to silence Symfony 6.3 deprecation notices #927

Closed mbabker closed 1 year ago

mbabker commented 1 year ago
Q A
Bug fix? yes
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT

Symfony 6.3 added a number of return types to the framework. This PR should cover all the ones that popped up when beta testing an application.

Native types are used in all final/internal classes, doc block annotation used otherwise.

goetas commented 1 year ago

Thanks

ruudk commented 1 year ago

Thanks for fixing this. Since Symfony 6.3 is released, it would be great to have this fix tagged.