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

fix: php 8.2 dynamic property warning in MapFieldIter #11485

Conversation

bshaffer
Copy link
Contributor

@bshaffer bshaffer commented Jan 6, 2023

addresses #11243

Defines $key_type in MapFieldIter, so as not to trigger PHP 8.2 warning. Note that this will change the visibility of $key_type from public in previous versions to private in this version. This is a breaking change, but anyone using $key_type in this way is misusing the library, so I think it's acceptable.

@bshaffer bshaffer requested a review from a team as a code owner January 6, 2023 19:43
@bshaffer bshaffer requested review from zhangskz and removed request for a team January 6, 2023 19:43
@mcy mcy requested a review from haberman January 9, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants