Skip to content

Commit c5efb74

Browse files
committed
Address review comment
1 parent da1e5f3 commit c5efb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7321,7 +7321,7 @@ static void zend_compile_prop_decl(zend_ast *ast, zend_ast *type_ast, uint32_t f
73217321
ZVAL_UNDEF(&value_zv);
73227322
}
73237323

7324-
if (!(flags & ZEND_ACC_READONLY) && (ce->ce_flags & ZEND_ACC_READONLY_CLASS)) {
7324+
if ((ce->ce_flags & ZEND_ACC_READONLY_CLASS)) {
73257325
flags |= ZEND_ACC_READONLY;
73267326
}
73277327

0 commit comments

Comments
 (0)