diff options
author | Johannes Schlüter <johannes@php.net> | 2007-08-17 14:21:00 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2007-08-17 14:21:00 +0000 |
commit | b83198cd2c6f8da8eb82279f9390b7b01fb691c1 (patch) | |
tree | 00549b404228e77552d065e643a22ced6612018c | |
parent | a3b4762c70769547e3069e890fe8ed9d2a34d65d (diff) | |
download | php-git-b83198cd2c6f8da8eb82279f9390b7b01fb691c1.tar.gz |
- Mark the parameter for ReflectionProperty::GetValue as optional
# [DOC] The documentation on this is wrong, too. The parameter is only
# needed for getting the value of an object's property, not for static
# ones. (I'm not sure if it has always been that way...)
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 95ad56321d..14ef23a145 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4817,7 +4817,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_property___construct, 0) ZEND_END_ARG_INFO() static -ZEND_BEGIN_ARG_INFO(arginfo_reflection_property_getValue, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_property_getValue, 0, 0, 0) ZEND_ARG_INFO(0, object) ZEND_END_ARG_INFO() |