-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 hints for Phalcon\Http\Response #14983
Labels
Comments
sergeyklay
added
bug
A bug report
status: unverified
Unverified
and removed
status: unverified
Unverified
labels
May 2, 2020
/cc @jenovateurs |
Fixed in 4.0.x branch |
5 tasks
Well done @sergeyklay :-) |
Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no restriction for
content
data type:cphalcon/phalcon/Http/Response.zep
Lines 67 to 79 in d3e9463
But
Phalcon\Http\Response::getContent
has to return string:cphalcon/phalcon/Http/Response.zep
Lines 94 to 97 in d3e9463
The following code leads to a fatal error:
The text was updated successfully, but these errors were encountered: