Skip to content

Commit c5dfe64

Browse files
committed
TODO Comment about improving error message
1 parent 9a900f1 commit c5dfe64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_inheritance.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,7 @@ static void ZEND_COLD emit_incompatible_method_error(
10081008
zend_string *parent_prototype = zend_get_function_declaration(parent, parent_scope);
10091009
zend_string *child_prototype = zend_get_function_declaration(child, child_scope);
10101010
if (status == INHERITANCE_UNRESOLVED) {
1011+
// TODO Improve error message if first unresolved class is present in child and parent?
10111012
/* Fetch the first unresolved class from registered autoloads */
10121013
zend_string *unresolved_class = NULL;
10131014
ZEND_HASH_MAP_FOREACH_STR_KEY(CG(delayed_autoloads), unresolved_class) {

0 commit comments

Comments
 (0)