1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Allow callable-string to be used for callable

This commit is contained in:
Matthew Brown 2019-12-01 01:15:14 -05:00
parent abdf37afb8
commit 4e07779497

View File

@ -1375,6 +1375,7 @@ class TypeAnalyzer
if ($container_type_part instanceof TCallable &&
(
$input_type_part instanceof TLiteralString
|| $input_type_part instanceof TCallableString
|| $input_type_part instanceof TArray
|| $input_type_part instanceof ObjectLike
|| $input_type_part instanceof TList