Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[2.7+][Component] In HttpFoundation, responses are not returned #8348

Copy link
Copy link
Closed
@alexislefebvre

Description

@alexislefebvre
Issue body actions

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

No one assigned

    Labels

    HttpFoundationhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.