mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Zend: Add const specifier to resolve_class_name()
This commit is contained in:
parent
8ebf986587
commit
ac52b5b738
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue