Skip to content

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

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
jiripudil:fix-2880
Dec 1, 2020
Merged

CallableType: accept [class-string, constant-string] array as callable#394
ondrejmirtes merged 1 commit intophpstan:masterfrom
jiripudil:fix-2880

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