Skip to content

Add inherited class example to AllowDynamicProperties#5458

Merged
TimWolla merged 3 commits intophp:masterfrom
jordikroon:fix/gh-5440
Apr 3, 2026
Merged

Add inherited class example to AllowDynamicProperties#5458
TimWolla merged 3 commits intophp:masterfrom
jordikroon:fix/gh-5440

Conversation

@jordikroon
Copy link
Copy Markdown
Contributor

Fixes #5440

Copy link
Copy Markdown
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also spell out explicitly that this attribute’s effect is inherited, despite Attributes themselves not being inherited? Either way the current changes LGTM.

@jordikroon
Copy link
Copy Markdown
Contributor Author

Good suggestion @TimWolla. I added a more prominent note since it could help developers who use this attribute.

@jordikroon jordikroon requested a review from TimWolla April 2, 2026 20:52
Copy link
Copy Markdown
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@TimWolla TimWolla merged commit be3574f into php:master Apr 3, 2026
2 checks passed
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.

AllowDynamicProperties for inherited classes

2 participants