Temporary fix, is already a PR for: https://github.com/symfony/symfony/pull/7278