Skip to content

Commit f926a92

Browse files
committed
Use true/false for booleans
1 parent 35dcc94 commit f926a92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_inheritance.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ static void zend_add_trait_method(zend_class_entry *ce, zend_string *name, zend_
19461946
{
19471947
zend_function *existing_fn = NULL;
19481948
zend_function *new_fn;
1949-
bool inherited = 0;
1949+
bool inherited = false;
19501950

19511951
if ((existing_fn = zend_hash_find_ptr(&ce->function_table, key)) != NULL) {
19521952
/* if it is the same function with the same visibility and has not been assigned a class scope yet, regardless
@@ -1987,7 +1987,7 @@ static void zend_add_trait_method(zend_class_entry *ce, zend_string *name, zend_
19871987
fn, fixup_trait_scope(fn, ce), existing_fn, fixup_trait_scope(existing_fn, ce),
19881988
ce, NULL, /* check_visibility */ 1);
19891989

1990-
inherited = 1;
1990+
inherited = true;
19911991
}
19921992
}
19931993

0 commit comments

Comments
 (0)