[HttpFoundation] fixed a PHP Notice (refs #5034)
[HttpFoundation] fixed a PHP Notice (refs #5034)


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