Skip to content

Commit 73b675a

Browse files
committed
Avoid duplication of "shadow" property_info
1 parent 23ca95a commit 73b675a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_inheritance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ static void do_inherit_property(zend_property_info *parent_info, zend_string *ke
689689
}
690690
}
691691
} else {
692-
if (UNEXPECTED(parent_info->flags & (ZEND_ACC_PRIVATE|ZEND_ACC_SHADOW))) {
692+
if (UNEXPECTED(parent_info->flags & ZEND_ACC_PRIVATE)) {
693693
if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) {
694694
child_info = zend_duplicate_property_info_internal(parent_info);
695695
} else {

0 commit comments

Comments
 (0)