Skip to content

Commit 6b2b4bb

Browse files
committed
Remove unused scope argument
1 parent bbcc372 commit 6b2b4bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/opcache/zend_persist.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ static HashTable *zend_persist_backed_enum_table(HashTable *backed_enum_table)
345345
return ptr;
346346
}
347347

348-
static void zend_persist_type(zend_type *type, zend_class_entry *scope) {
348+
static void zend_persist_type(zend_type *type) {
349349
if (ZEND_TYPE_HAS_LIST(*type)) {
350350
zend_type_list *list = ZEND_TYPE_LIST(*type);
351351
if (ZEND_TYPE_USES_ARENA(*type)) {
@@ -627,7 +627,7 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc
627627
if (arg_info[i].name) {
628628
zend_accel_store_interned_string(arg_info[i].name);
629629
}
630-
zend_persist_type(&arg_info[i].type, op_array->scope);
630+
zend_persist_type(&arg_info[i].type);
631631
}
632632
if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
633633
arg_info++;
@@ -798,7 +798,7 @@ static zend_property_info *zend_persist_property_info(zend_property_info *prop)
798798
if (prop->attributes) {
799799
prop->attributes = zend_persist_attributes(prop->attributes);
800800
}
801-
zend_persist_type(&prop->type, ce);
801+
zend_persist_type(&prop->type);
802802
return prop;
803803
}
804804

0 commit comments

Comments
 (0)