[HttpFoundation] fixed a bug in previous merge
[HttpFoundation] fixed a bug in previous merge


mneuhaus/HttpFoundation,symfony/HttpFoundation,oswaldderiemaecker/HttpFoundation,symfony/http-foundation,nichdu/HttpFoundation,ygerasimov/HttpFoundation