]> granicus.if.org Git - php/commitdiff
Add missed return replacing bail out
authorAaron Piotrowski <aaron@trowski.com>
Wed, 29 Jun 2016 14:56:25 +0000 (09:56 -0500)
committerAaron Piotrowski <aaron@trowski.com>
Wed, 29 Jun 2016 14:56:25 +0000 (09:56 -0500)
ext/reflection/php_reflection.c

index f1c58e2c0fdbc8166612b0e7ed21d6be82b9fcf8..635643e3f3c3b47ba6b29564d65f00ceab419a78 100644 (file)
@@ -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);