Skip to content

Commit fbe287a

Browse files
committed
Fix typo in unlinked_instanceof assertion
1 parent 270e5e3 commit fbe287a

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
@@ -286,7 +286,7 @@ static zend_bool unlinked_instanceof(zend_class_entry *ce1, zend_class_entry *ce
286286

287287
if (ce1->num_interfaces) {
288288
uint32_t i;
289-
ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES));
289+
ZEND_ASSERT(!(ce1->ce_flags & ZEND_ACC_RESOLVED_INTERFACES));
290290
for (i = 0; i < ce1->num_interfaces; i++) {
291291
ce = zend_lookup_class_ex(
292292
ce1->interface_names[i].name, ce1->interface_names[i].lc_name,

0 commit comments

Comments
 (0)