Skip to content

Commit b410ad5

Browse files
committed
Revert unintended insertion of newlines
1 parent 109adf2 commit b410ad5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/zend_inheritance.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,6 @@ static bool do_inherit_constant_check(
16001600
}
16011601

16021602
zend_class_constant *old_constant = Z_PTR_P(zv);
1603-
16041603
if (parent_constant->ce != old_constant->ce && (ZEND_CLASS_CONST_FLAGS(parent_constant) & ZEND_ACC_FINAL)) {
16051604
zend_error_noreturn(E_COMPILE_ERROR, "%s::%s cannot override final constant %s::%s",
16061605
ZSTR_VAL(old_constant->ce->name), ZSTR_VAL(name),
@@ -1640,7 +1639,6 @@ static void do_inherit_iface_constant(zend_string *name, zend_class_constant *c,
16401639
memcpy(ct, c, sizeof(zend_class_constant));
16411640
c = ct;
16421641
}
1643-
16441642
zend_hash_update_ptr(&ce->constants_table, name, c);
16451643
}
16461644
}

0 commit comments

Comments
 (0)