We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b20627 commit 032e5f6Copy full SHA for 032e5f6
Zend/zend_inheritance.c
@@ -763,8 +763,8 @@ static inheritance_status zend_perform_covariant_type_check(
763
}
764
765
static inheritance_status zend_do_perform_arg_type_hint_check(
766
- zend_class_entry *fe_scope, zend_arg_info *fe_arg_info,
767
- zend_class_entry *proto_scope, zend_arg_info *proto_arg_info) /* {{{ */
+ zend_class_entry *fe_scope, const zend_arg_info *fe_arg_info,
+ zend_class_entry *proto_scope, const zend_arg_info *proto_arg_info) /* {{{ */
768
{
769
if (!ZEND_TYPE_IS_SET(fe_arg_info->type) || ZEND_TYPE_PURE_MASK(fe_arg_info->type) == MAY_BE_ANY) {
770
/* Child with no type or mixed type is always compatible */
0 commit comments