summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-06-16 13:29:17 +0300
committerDmitry Stogov <dmitry@zend.com>2015-06-16 13:29:17 +0300
commit3180b8e100285e5bd9088e9981608dfd14f6ff27 (patch)
treea6f6318962ed0ee36b5b6b03a7cdad636fb7268c /ext/reflection
parented84bff44569d3b7e2f79255208e69bbe755d6a9 (diff)
downloadphp-git-3180b8e100285e5bd9088e9981608dfd14f6ff27.tar.gz
Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class name) (onr more problem)
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 195ea70fc0..4a2d7ccfa3 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -2654,7 +2654,7 @@ ZEND_METHOD(reflection_parameter, getClass)
ce = ce->parent;
} else {
if (param->fptr->type == ZEND_INTERNAL_FUNCTION &&
- (param->fptr->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) {
+ !(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) {
zend_string *name = zend_string_init(class_name, class_name_len, 0);
ce = zend_lookup_class(name);
zend_string_release(name);