-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add return types to bridges #42501
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
Add return types to bridges #42501
Conversation
b4cec41
to
1ea501d
Compare
🟢 |
* | ||
* @return self|null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* | |
* @return self|null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll delegate all similar changes to php-cs-fixer when it can do it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. It's just that you've already removed the return annotations from other methods in this PR, but not here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, looks like something to fix for php-cs-fixer when union types are used
Extracted from #42496