Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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
May 27, 2022

Conversation

ostrolucky
Copy link
Contributor

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

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.

@ostrolucky
Copy link
Contributor Author

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.

4 participants