Skip to content

Symfony 7.0 DataTransformerInterface typing support DataTransformers

Latest
Compare
Choose a tag to compare
@BrunoKingbee BrunoKingbee released this 05 Jan 08:20
facfa78

Symfony 7.0 with this package:
Compile Error: Declaration of Tetranz\Select2EntityBundle\Form\DataTransformer\EntitiesToPropertyTransformer::transform($value) must be compatible with Symfony\Component\Form\DataTransformerInterface::transform(mixed $value): mixed

This interface expects native types in the params and return types of this class.