Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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