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

Clarify constructor property promotion modifiers #2755

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

bartvanraaij
Copy link
Contributor

I was recently made aware that any modifier can be used to apply constructor property promotion, instead of just visibility modifiers:
php/php-src#12122

This PR aims to clarify this in the docs.

@bartvanraaij bartvanraaij changed the title Clarify constructor property promition modifiers Clarify constructor property promotion modifiers Sep 11, 2023
@Girgias Girgias added bug Documentation contains incorrect information Status: Verified labels Sep 11, 2023
language/oop5/decon.xml Outdated Show resolved Hide resolved
@Girgias Girgias merged commit 7b50ce5 into php:master Sep 11, 2023
2 checks passed
@Girgias
Copy link
Member

Girgias commented Sep 11, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Documentation contains incorrect information Status: Verified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants