If changes in https://github.com/symfony/symfony/issues/11324 gets accepted documentation should be fixed.