Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Incorrect return type hint for Phalcon\Http\Response\Cookies::setSignKey #14982

Closed
sergeyklay opened this issue May 2, 2020 · 1 comment · Fixed by #14984
Closed
Assignees
Labels
bug A bug report status: low Low

Comments

@sergeyklay
Copy link
Contributor

Phalcon\Http\Response\Cookies::setSignKey has incorrect return type hint:

public function setSignKey(string signKey = null) -> <CookieInterface>
{
let this->signKey = signKey;
return this;
}

Please note -> <CookieInterface> and return this;.

But this NOT implements Phalcon\Http\Cookie\CookieInterface, it implements Phalcon\Http\Response\CookiesInterface. Missed s.

@sergeyklay
Copy link
Contributor Author

Fixed in 4.0.x branch

@sergeyklay sergeyklay linked a pull request May 3, 2020 that will close this issue
5 tasks
niden pushed a commit that referenced this issue May 16, 2020
@niden niden moved this to Released in Phalcon v5 Aug 25, 2022
@niden niden added this to Phalcon v5 Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: low Low
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant