diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-30 14:55:13 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-30 14:55:13 +0200 |
commit | 5f25618f8362b3f6cf502d8dd7b3cef7e0313f9c (patch) | |
tree | 44dc0038517254a9faf330ff6764976cba5ab6a5 /ext/reflection/php_reflection.c | |
parent | 0d330e1a022d536de8a679d11dc8ec6f9fd64be3 (diff) | |
download | php-git-5f25618f8362b3f6cf502d8dd7b3cef7e0313f9c.tar.gz |
Add missing RETURN_THROWS()
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 1d6d6b7a8d..decb8d5e0a 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3103,6 +3103,7 @@ ZEND_METHOD(ReflectionMethod, getClosure) } else { if (!obj) { zend_argument_value_error(1, "cannot be null for non-static methods"); + RETURN_THROWS(); } if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { |