Skip to content

[4.4] Add return types on internal|final|private methods (bis) #33264

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

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

nicolas-grekas
Copy link
Member

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 -

Found while working on #33259

: self is used for final methods only. I'd have preferred using : object but that's not possible on PHP 7.1

@nicolas-grekas nicolas-grekas added this to the next milestone Aug 20, 2019
nicolas-grekas added a commit that referenced this pull request Aug 20, 2019
… (bis) (nicolas-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

[4.4] Add return types on internal|final|private methods (bis)

| 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        | -

Found while working on #33259

`: self` is used for final methods only. I'd have preferred using `: object` but that's not possible on PHP 7.1

Commits
-------

23faee4 [4.4] Add return types on internal|final|private methods (bis)
@nicolas-grekas nicolas-grekas merged commit 23faee4 into symfony:4.4 Aug 20, 2019
@nicolas-grekas nicolas-grekas deleted the return-44b branch August 20, 2019 21:42
@nicolas-grekas nicolas-grekas restored the return-44b branch August 20, 2019 21:49
@nicolas-grekas nicolas-grekas deleted the return-44b branch August 23, 2019 11:45
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy