fixed wrong doc

see symfony/symfony#7337
Merge pull request #2723 from fabpot/2.2

fixed wrong doc