Skip to content

Commit 36a602b

Browse files
Update inline documentation of ReflectionProperty::setAccessible()
Since PHP 8.1 ReflectionProperty has always allowed access to non-public properties and the method is a no-op.
1 parent 0a858ea commit 36a602b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/reflection/php_reflection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6392,7 +6392,7 @@ ZEND_METHOD(ReflectionProperty, getAttributes)
63926392
}
63936393
/* }}} */
63946394

6395-
/* {{{ Sets whether non-public properties can be requested */
6395+
/* {{{ No-op; previously controlled whether non-public properties can be requested */
63966396
ZEND_METHOD(ReflectionProperty, setAccessible)
63976397
{
63986398
bool visible;

0 commit comments

Comments
 (0)