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

Add parameter type declarations to magic methods #33267

Merged
merged 1 commit into from
Aug 30, 2019

Conversation

derrabus
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32179
License MIT
Doc PR N/A

nicolas-grekas added a commit that referenced this pull request Aug 23, 2019
…-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

Add missing return annotations on magic methods

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

My script had a bug, spotted by reviewing #33267
These annotations express our intention to add real return types in a future major release (likely v6)

Commits
-------

10983fc Add missing return annotations on magic methods
@derrabus derrabus force-pushed the improvement/magic-method-types branch from 4c5d84d to ec8215c Compare August 30, 2019 09:44
@derrabus
Copy link
Member Author

I have resolved the conflict. PR is ready again.

@fabpot
Copy link
Member

fabpot commented Aug 30, 2019

Thank you @derrabus.

fabpot added a commit that referenced this pull request Aug 30, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

Add parameter type declarations to magic methods

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32179
| License       | MIT
| Doc PR        | N/A

Commits
-------

ec8215c Add parameter type declarations to magic methods.
@fabpot fabpot merged commit ec8215c into symfony:master Aug 30, 2019
@derrabus derrabus deleted the improvement/magic-method-types branch August 30, 2019 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants