Skip to content

Commit f186ab3

Browse files
committed
Change function name
1 parent 42bf8a6 commit f186ab3

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
@@ -1971,7 +1971,7 @@ static zend_type zend_resolve_name_type(zend_type type, const zend_class_entry *
19711971
}
19721972

19731973
/* We cannot modify the type in-place (e.g. via a pointer) as it is written to SHM */
1974-
static zend_type zend_resolve_single_type(zend_type type, const zend_class_entry *const ce)
1974+
static zend_type zend_resolve_type(zend_type type, const zend_class_entry *const ce)
19751975
{
19761976
/* Only built-in types + static */
19771977
if (!ZEND_TYPE_IS_COMPLEX(type)) {
@@ -2047,7 +2047,7 @@ static void zend_resolve_trait_relative_class_types(zend_function *const fn, con
20472047

20482048
for (uint32_t i = 0; i < num_args + has_return_type; i++) {
20492049
zend_type type = new_arg_infos[i].type;
2050-
zend_type resolved_type = zend_resolve_single_type(type, ce);
2050+
zend_type resolved_type = zend_resolve_type(type, ce);
20512051
if (zend_was_type_resolved(type, resolved_type)) {
20522052
if (!has_resolved_type) {
20532053
new_arg_infos = zend_arena_alloc(&CG(arena), allocated_size);

0 commit comments

Comments
 (0)