Skip to content

Commit 5723fa2

Browse files
committed
[skip ci] Document do_inheritance_check_on_method_ex() check_only and check params
These are quite confusingly named.
1 parent 45ffa77 commit 5723fa2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Zend/zend_inheritance.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,11 @@ static void perform_delayable_implementation_check(
10651065
}
10661066
}
10671067

1068+
/**
1069+
* @param check_only Set to false to throw compile errors on incompatible methods, or true to return
1070+
* INHERITANCE_ERROR.
1071+
* @param checked Whether the compatibility check has already been performed by zend_can_early_bind().
1072+
*/
10681073
static zend_always_inline inheritance_status do_inheritance_check_on_method_ex(
10691074
zend_function *child, zend_class_entry *child_scope,
10701075
zend_function *parent, zend_class_entry *parent_scope,

0 commit comments

Comments
 (0)