Skip to content

Commit 032e5f6

Browse files
committed
Zend: mark arg_info parameters of zend_do_perform_arg_type_hint_check() const
1 parent 2b20627 commit 032e5f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_inheritance.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,8 @@ static inheritance_status zend_perform_covariant_type_check(
763763
}
764764

765765
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) /* {{{ */
766+
zend_class_entry *fe_scope, const zend_arg_info *fe_arg_info,
767+
zend_class_entry *proto_scope, const zend_arg_info *proto_arg_info) /* {{{ */
768768
{
769769
if (!ZEND_TYPE_IS_SET(fe_arg_info->type) || ZEND_TYPE_PURE_MASK(fe_arg_info->type) == MAY_BE_ANY) {
770770
/* Child with no type or mixed type is always compatible */

0 commit comments

Comments
 (0)