Skip to content

Commit 525442d

Browse files
sj-iguilliamxavier
andauthored
fix a double negation
Co-authored-by: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
1 parent 8a520fd commit 525442d

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
@@ -1578,7 +1578,7 @@ static zend_always_inline bool check_trait_property_or_constant_value_compatibil
15781578
op2 = &op2_tmp;
15791579
}
15801580

1581-
is_compatible = !fast_is_not_identical_function(op1, op2);
1581+
is_compatible = fast_is_identical_function(op1, op2);
15821582

15831583
if (op1 == &op1_tmp) {
15841584
zval_ptr_dtor_nogc(&op1_tmp);

0 commit comments

Comments
 (0)