Skip to content

Commit 5417b24

Browse files
sj-iguilliamxavier
andcommitted
fix a double negation
Co-authored-by: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
1 parent 1ce5790 commit 5417b24

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
@@ -1647,7 +1647,7 @@ static zend_always_inline bool check_trait_property_or_constant_value_compatibil
16471647
op2 = &op2_tmp;
16481648
}
16491649

1650-
is_compatible = !fast_is_not_identical_function(op1, op2);
1650+
is_compatible = fast_is_identical_function(op1, op2);
16511651

16521652
if (op1 == &op1_tmp) {
16531653
zval_ptr_dtor_nogc(&op1_tmp);

0 commit comments

Comments
 (0)