-
-
Notifications
You must be signed in to change notification settings - Fork 80
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: __construct @return assumption of self #18
Comments
Yes, it should be |
I think it will be better to use |
Yeah, even better. |
Yeah that makes sense to me. I suppose by the time the constructor runs the instance exists (as the constructor can use $this, so the constructor is not a factory ( |
Rename PSR-13 interfaces to not be http specific
Going on the definitions in Appendix A, Subsection Keyword (bottom of document), shouldn't the assumed
@return
of a__construct
method as mentioned in the exceptions to Section 8.15 be assumed@return static
rather than the stated@return self
?The text was updated successfully, but these errors were encountered: