@@ -60,8 +60,8 @@ static void add_property_hook_obligation(
6060 zend_class_entry * ce , const zend_property_info * hooked_prop , const zend_function * hook_func );
6161
6262static void ZEND_COLD emit_incompatible_method_error (
63- const zend_function * child , zend_class_entry * child_scope ,
64- const zend_function * parent , zend_class_entry * parent_scope ,
63+ const zend_function * child , const zend_class_entry * child_scope ,
64+ const zend_function * parent , const zend_class_entry * parent_scope ,
6565 inheritance_status status );
6666
6767static void zend_type_copy_ctor (zend_type * const type , bool use_arena , bool persistent );
@@ -897,7 +897,7 @@ static inheritance_status zend_do_perform_implementation_check(
897897/* }}} */
898898
899899static ZEND_COLD void zend_append_type_hint (
900- smart_str * str , zend_class_entry * scope , const zend_arg_info * arg_info , bool return_hint ) /* {{{ */
900+ smart_str * str , const zend_class_entry * scope , const zend_arg_info * arg_info , bool return_hint ) /* {{{ */
901901{
902902 if (ZEND_TYPE_IS_SET (arg_info -> type )) {
903903 zend_string * type_str = zend_type_to_string_resolved (arg_info -> type , scope );
@@ -911,7 +911,7 @@ static ZEND_COLD void zend_append_type_hint(
911911/* }}} */
912912
913913static ZEND_COLD zend_string * zend_get_function_declaration (
914- const zend_function * fptr , zend_class_entry * scope ) /* {{{ */
914+ const zend_function * fptr , const zend_class_entry * scope ) /* {{{ */
915915{
916916 smart_str str = {0 };
917917
@@ -1054,8 +1054,8 @@ static zend_always_inline uint32_t func_lineno(const zend_function *fn) {
10541054}
10551055
10561056static void ZEND_COLD emit_incompatible_method_error (
1057- const zend_function * child , zend_class_entry * child_scope ,
1058- const zend_function * parent , zend_class_entry * parent_scope ,
1057+ const zend_function * child , const zend_class_entry * child_scope ,
1058+ const zend_function * parent , const zend_class_entry * parent_scope ,
10591059 inheritance_status status ) {
10601060 zend_string * parent_prototype = zend_get_function_declaration (parent , parent_scope );
10611061 zend_string * child_prototype = zend_get_function_declaration (child , child_scope );
0 commit comments