Skip to content

Fix outdated documentation for ReflectionClass::setStaticPropertyValue visibility handling#5057

Open
lacatoire wants to merge 2 commits intophp:masterfrom
lacatoire:reflection/setstaticpropertyvalue-doc
Open

Fix outdated documentation for ReflectionClass::setStaticPropertyValue visibility handling#5057
lacatoire wants to merge 2 commits intophp:masterfrom
lacatoire:reflection/setstaticpropertyvalue-doc

Conversation

@lacatoire
Copy link
Contributor

@lacatoire lacatoire commented Dec 23, 2025

Fixes #4600
The documentation for ReflectionClass::setStaticPropertyValue() is outdated.

@lacatoire lacatoire force-pushed the reflection/setstaticpropertyvalue-doc branch from 0a87feb to a6b09b8 Compare December 23, 2025 13:52
</entry>
</row>
<row>
<entry>7.4.9</entry>
Copy link
Member

Choose a reason for hiding this comment

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

there should also be documentation of which minor (non-patch) version of PHP this was first changed in, e.g. it could be that 7.4.9 was released after 8.0.0 and thus PHP 8.0 only allows public static properties, or that 7.4.9 was before 8.0.0 and the change was also in 8.0.0, but without further detail a reader would need to investigate

Co-authored-by: Daniel Scherzer <daniel.e.scherzer@gmail.com>
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.

ReflectionClass::setStaticPropertyValue() documentation is outdated

2 participants