Skip to content

CallableType: accept [class-string, constant-string] array as callable #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

jiripudil
Copy link
Contributor

Should fix phpstan/phpstan#2880. Constant array type of [class-string, constant-string] wasn't considered callable.

@ondrejmirtes ondrejmirtes merged commit 86cf97d into phpstan:master Dec 1, 2020
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't recognize the callable method
2 participants