Return 'static' instead of 'self' in static returning methods#284
Open
donjajo wants to merge 1 commit intothecodingmachine:5.3from
Open
Return 'static' instead of 'self' in static returning methods#284donjajo wants to merge 1 commit intothecodingmachine:5.3from
donjajo wants to merge 1 commit intothecodingmachine:5.3from
Conversation
Extending classes need to return itself
Collaborator
|
LGTM, thank you! |
Collaborator
|
Actually it looks like this is not available for php 7.4. It is available since PHP8.0. @moufmouf are you okay to upgrade the minimum php version to PHP8.0? |
Member
|
@homersimpsons Definitely ok if you tag a new minor (or major) release (don't do this in a patch release) |
Collaborator
|
@donjajo Can you upgrade the php requirement in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extending classes need to return itself