Closed
Description
On http://symfony.com/doc/2.7/components/http_foundation.html and following versions, $response
is used as an example but return $response;
is never called.
I only used code like $response = new Response(…);
in Symfony where return $response
was mandatory and it thinks that it's the same when HttpFoundation is used as a component.
Should HttpFoundation examples show calls to return $response;
?