summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2016-06-29 09:56:25 -0500
committerAaron Piotrowski <aaron@trowski.com>2016-06-29 09:56:25 -0500
commite4b1bfc0757447b1b53adfb61d15e367e96f6a4d (patch)
treeb49a445f240c9ab9084bd156433992299a5419ff /ext/reflection/php_reflection.c
parent7d53864574e22a3f72fcee7eb902248fb25f85df (diff)
downloadphp-git-e4b1bfc0757447b1b53adfb61d15e367e96f6a4d.tar.gz
Add missed return replacing bail out
Diffstat (limited to 'ext/reflection/php_reflection.c')
-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 f1c58e2c0f..635643e3f3 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -5636,7 +5636,7 @@ ZEND_METHOD(reflection_property, getValue)
}
if (Z_TYPE(CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) == IS_UNDEF) {
zend_throw_error(NULL, "Internal error: Could not find the property %s::%s", ZSTR_VAL(intern->ce->name), ZSTR_VAL(ref->prop.name));
- /* Bails out */
+ return;
}
member_p = &CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset];
ZVAL_DEREF(member_p);