1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Zend: Add const specifier to resolve_class_name()

This commit is contained in:
Gina Peter Banyard
2025-02-11 16:03:30 +00:00
parent 8ebf986587
commit ac52b5b738

View File

@@ -225,7 +225,7 @@ static const char *zend_asymmetric_visibility_string(uint32_t fn_flags) /* {{{ *
}
}
static zend_string *resolve_class_name(zend_class_entry *scope, zend_string *name) {
static zend_string *resolve_class_name(const zend_class_entry *scope, zend_string *name) {
ZEND_ASSERT(scope);
if (zend_string_equals_literal_ci(name, "parent") && scope->parent) {
if (scope->ce_flags & ZEND_ACC_RESOLVED_PARENT) {