-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
HttpFoundationhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
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;
?
Metadata
Metadata
Assignees
Labels
HttpFoundationhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.