Skip to content

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

Closed
@alexislefebvre

Description

@alexislefebvre

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions