Skip to content

IRequest::setCookie does mot match Request::setCookieΒ #200

@hanak

Description

@hanak

Version: 3.0.5

Bug Description

Parameter $sameSite is missing in IRequest::setCookie. And, name of the parameter $expire (IRequest::setCookie) does not match name of the parameter $time (Request::setCookie).

Steps To Reproduce

Not a runtime error.

Expected Behavior

Both the interface and the implementation should match unless IRequest::setCookie and Request::setCookie are not related.

Possible Solution

Update IRequest::setCookie to match Request::setCookie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions