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

[PropertyInfo] Fix resolution of partially docblock covered constructors #46453

Merged
merged 1 commit into from May 27, 2022

Conversation

ostrolucky
Copy link
Contributor

@ostrolucky ostrolucky commented May 24, 2022

Q A
Branch? 6.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #46383
License MIT
Doc PR -

This fixes a regression in 6.1

@carsonbot
Copy link

carsonbot commented May 25, 2022

Hey!

I think @Korbeil has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@fabpot
Copy link
Member

fabpot commented May 27, 2022

Thank you @ostrolucky.

@fabpot fabpot merged commit aa2c93c into symfony:6.1 May 27, 2022
7 of 9 checks passed
@fabpot fabpot mentioned this pull request May 27, 2022
@ostrolucky
Copy link
Contributor Author

ostrolucky commented Jun 9, 2022

Going to answer my comment. This guard

if (self::MUTATOR === $source && !$this->filterDocBlockParams($phpDocNode, $property)) {
    return null;
}

can indeed now be removed, as now you added more generic solution

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

4 participants