Skip to content

[HttpFoundation] deprecate call to Request::getSession() when Request::hasSession() returns false #9457

Closed
@javiereguiluz

Description

@javiereguiluz

Before some command returned null but now it explodes the application with an exception. See symfony/symfony#26564

Metadata

Metadata

Assignees

No one assigned

    Labels

    HttpFoundationhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions