Skip to content

Commit ac52b5b

Browse files
committed
Zend: Add const specifier to resolve_class_name()
1 parent 8ebf986 commit ac52b5b

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
@@ -225,7 +225,7 @@ static const char *zend_asymmetric_visibility_string(uint32_t fn_flags) /* {{{ *
225225
}
226226
}
227227

228-
static zend_string *resolve_class_name(zend_class_entry *scope, zend_string *name) {
228+
static zend_string *resolve_class_name(const zend_class_entry *scope, zend_string *name) {
229229
ZEND_ASSERT(scope);
230230
if (zend_string_equals_literal_ci(name, "parent") && scope->parent) {
231231
if (scope->ce_flags & ZEND_ACC_RESOLVED_PARENT) {

0 commit comments

Comments
 (0)