diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-26 08:51:06 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-26 08:51:06 +0100 |
commit | 7f462c97f90fab7160b972c8a4f6c364e3814724 (patch) | |
tree | b091858754eac238a7d521daeec706b9ba5625d3 /ext/reflection/php_reflection.c | |
parent | ef6adb4e27853eb19bf50bad6486311920d6af7b (diff) | |
download | php-git-7f462c97f90fab7160b972c8a4f6c364e3814724.tar.gz |
Revert "Make ReflectionUnionType final"
This reverts commit ef6adb4e27853eb19bf50bad6486311920d6af7b.
Per Ondrej's comment, this is already being used by BetterReflection
adaptors, ugh.
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index d1957521c0..7adcfc506a 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -6529,7 +6529,6 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */ INIT_CLASS_ENTRY(_reflection_entry, "ReflectionUnionType", class_ReflectionUnionType_methods); reflection_init_class_handlers(&_reflection_entry); - _reflection_entry.ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES; reflection_union_type_ptr = zend_register_internal_class_ex(&_reflection_entry, reflection_type_ptr); INIT_CLASS_ENTRY(_reflection_entry, "ReflectionMethod", class_ReflectionMethod_methods); |