Skip to content

Conversation

@iluuu1994
Copy link
Member

Caused by GH-15492. While the parent might contain callable, it may also contain other types. zend_is_class_subtype_of_type() may be checking a member that is not callable itself. Fall back to the normal class subtype check.

Discovered by a failing Laravel test in nightly.

Caused by phpGH-15492. While the parent might contain callable, it may also
contain other types. zend_is_class_subtype_of_type() may be checking a
member that is not callable itself. Fall back to the normal class
subtype check.

Discovered by a failing Laravel test in nightly.
@iluuu1994 iluuu1994 force-pushed the fix-callable-variance-check branch from d52d68b to 7eb82f4 Compare January 28, 2025 14:51
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes this makes sense!

@iluuu1994 iluuu1994 merged commit ed1e47e into php:master Jan 28, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants