Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[5.0] Add return types on internal|final|private methods#33259

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:masterfromnicolas-grekas:return-50
Aug 20, 2019

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#33228#33236
LicenseMIT
Doc PR-

I think some changes here can be backported to 4.4
Also, this fails with e.g.Return value of Symfony\Component\Serializer\Normalizer\ArrayDenormalizer::denormalize() must be an object, array returned
Which means we need to updateDenormalizerInterface::denormalize() with@return object|array in 3.4.

@nicolas-grekasnicolas-grekas added this to the5.0 milestoneAug 20, 2019
@nicolas-grekasnicolas-grekasforce-pushed thereturn-50 branch 2 times, most recently fromc4c24b8 tocfe03c0CompareAugust 20, 2019 20:43
@nicolas-grekasnicolas-grekas mentioned this pull requestAug 20, 2019
nicolas-grekas added a commit that referenced this pull requestAug 20, 2019
This PR was merged into the 3.4 branch.Discussion----------More docblock fixes| Q             | A| ------------- | ---| Branch?       | 3.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#33259Commits-------9b78d53 More docblock fixes
nicolas-grekas added a commit that referenced this pull requestAug 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.1Commits-------23faee4 [4.4] Add return types on internal|final|private methods (bis)
nicolas-grekas added a commit that referenced this pull requestAug 20, 2019
… (nicolas-grekas)This PR was merged into the 5.0-dev branch.Discussion----------[5.0] Add return types on internal|final|private methods| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#33228#33236| License       | MIT| Doc PR        | -I think some changes here can be backported to 4.4Also, this fails with e.g. `Return value of Symfony\Component\Serializer\Normalizer\ArrayDenormalizer::denormalize() must be an object, array returned`Which means we need to update `DenormalizerInterface::denormalize()` with `@return object|array` in 3.4.Commits-------6f303b4 [5.0] Add return types on internal|final|private methods
@nicolas-grekasnicolas-grekas merged commit6f303b4 intosymfony:masterAug 20, 2019
@nicolas-grekasnicolas-grekas deleted the return-50 branchAugust 20, 2019 21:49
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

5.0

Development

Successfully merging this pull request may close these issues.

2 participants

@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp