Skip to content

Commit a4ea699

Browse files
committed
Revert unintended insertion of newlines
1 parent 6de0444 commit a4ea699

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
@@ -1669,7 +1669,6 @@ static bool do_inherit_constant_check(
16691669
}
16701670

16711671
zend_class_constant *old_constant = Z_PTR_P(zv);
1672-
16731672
if (parent_constant->ce != old_constant->ce && (ZEND_CLASS_CONST_FLAGS(parent_constant) & ZEND_ACC_FINAL)) {
16741673
zend_error_noreturn(E_COMPILE_ERROR, "%s::%s cannot override final constant %s::%s",
16751674
ZSTR_VAL(old_constant->ce->name), ZSTR_VAL(name),
@@ -1709,7 +1708,6 @@ static void do_inherit_iface_constant(zend_string *name, zend_class_constant *c,
17091708
memcpy(ct, c, sizeof(zend_class_constant));
17101709
c = ct;
17111710
}
1712-
17131711
zend_hash_update_ptr(&ce->constants_table, name, c);
17141712
}
17151713
}

0 commit comments

Comments
 (0)