Revert BC break https://github.com/symfony/symfony/issues/9145