We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I came across ClassPropertyAssignToConstructorPromotionRector, and an example shows changed public property to private promoted.
Is it a mistake in documentation, or it really works like this?
The text was updated successfully, but these errors were encountered:
Thanks for checking. Seems like docs issue :) could you update it in the rule itself?
Sorry, something went wrong.
@yevsid you can create a PR with update this:
https://github.com/rectorphp/rector-src/blob/b1ae9a141523ee35af1f63aab39d945e8df03275/rules/Php80/Rector/Class_/ClassPropertyAssignToConstructorPromotionRector.php#L73
and then run composer docs so doc updated.
composer docs
Fixed at rectorphp/rector-src#2711
No branches or pull requests
I came across ClassPropertyAssignToConstructorPromotionRector, and an example shows changed public property to private promoted.
Is it a mistake in documentation, or it really works like this?
The text was updated successfully, but these errors were encountered: