File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -813,7 +813,7 @@ ZEND_API inheritance_status zend_perform_covariant_type_check(
813
813
814
814
static inheritance_status zend_do_perform_arg_type_hint_check (
815
815
zend_class_entry * fe_scope , const zend_arg_info * fe_arg_info ,
816
- zend_class_entry * proto_scope , zend_arg_info * proto_arg_info ) /* {{{ */
816
+ zend_class_entry * proto_scope , const zend_arg_info * proto_arg_info ) /* {{{ */
817
817
{
818
818
if (!ZEND_TYPE_IS_SET (fe_arg_info -> type ) || ZEND_TYPE_PURE_MASK (fe_arg_info -> type ) == MAY_BE_ANY ) {
819
819
/* Child with no type or mixed type is always compatible */
@@ -881,10 +881,10 @@ static inheritance_status zend_do_perform_implementation_check(
881
881
882
882
status = INHERITANCE_SUCCESS ;
883
883
for (uint32_t i = 0 ; i < num_args ; i ++ ) {
884
- zend_arg_info * proto_arg_info =
884
+ const zend_arg_info * proto_arg_info =
885
885
i < proto_num_args ? & proto -> common .arg_info [i ] :
886
886
proto_is_variadic ? & proto -> common .arg_info [proto_num_args - 1 ] : NULL ;
887
- zend_arg_info * fe_arg_info =
887
+ const zend_arg_info * fe_arg_info =
888
888
i < fe_num_args ? & fe -> common .arg_info [i ] :
889
889
fe_is_variadic ? & fe -> common .arg_info [fe_num_args - 1 ] : NULL ;
890
890
if (!proto_arg_info ) {
You can’t perform that action at this time.
0 commit comments