Closed bobvandevijver closed 2 months ago
Corrects the problem introduced #624 and fixes https://github.com/rectorphp/rector/issues/8730.
The correct return type is mixed (see https://github.com/symfony/symfony/blob/7.0/src/Symfony/Component/Form/DataTransformerInterface.php), the comment in https://github.com/rectorphp/rector-symfony/issues/537#issue-1957058803 where the change was based on was just an example for a particular scenario.
Thanks for prompt fix 🙏
Corrects the problem introduced #624 and fixes https://github.com/rectorphp/rector/issues/8730.
The correct return type is mixed (see https://github.com/symfony/symfony/blob/7.0/src/Symfony/Component/Form/DataTransformerInterface.php), the comment in https://github.com/rectorphp/rector-symfony/issues/537#issue-1957058803 where the change was based on was just an example for a particular scenario.