Skip to content

Commit f955e60

Browse files
committed
Change function name
1 parent cb59e0d commit f955e60

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
@@ -1954,7 +1954,7 @@ static zend_type zend_resolve_name_type(zend_type type, const zend_class_entry *
19541954
}
19551955

19561956
/* We cannot modify the type in-place (e.g. via a pointer) as it is written to SHM */
1957-
static zend_type zend_resolve_single_type(zend_type type, const zend_class_entry *const ce)
1957+
static zend_type zend_resolve_type(zend_type type, const zend_class_entry *const ce)
19581958
{
19591959
/* Only built-in types + static */
19601960
if (!ZEND_TYPE_IS_COMPLEX(type)) {
@@ -2030,7 +2030,7 @@ static void zend_resolve_trait_relative_class_types(zend_function *const fn, con
20302030

20312031
for (uint32_t i = 0; i < num_args + has_return_type; i++) {
20322032
zend_type type = new_arg_infos[i].type;
2033-
zend_type resolved_type = zend_resolve_single_type(type, ce);
2033+
zend_type resolved_type = zend_resolve_type(type, ce);
20342034
if (zend_was_type_resolved(type, resolved_type)) {
20352035
if (!has_resolved_type) {
20362036
new_arg_infos = zend_arena_alloc(&CG(arena), allocated_size);

0 commit comments

Comments
 (0)