Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Cookies class doesn't allow Header\Cookie instances #12

@vitorbrandao

Description

@vitorbrandao

As opposed to the comment in Cookies:: addCookie:

Cookie should be passed either as a Zend\Http\Header\Cookie object or as a string

Cookies:: addCookie actually only allow instances of SetCookie to be passed as an argument.

The comment is not aligned with the implementation. Which one represents the expected behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions