mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Allow callable-string to be used for callable
This commit is contained in:
parent
abdf37afb8
commit
4e07779497
@ -1375,6 +1375,7 @@ class TypeAnalyzer
|
|||||||
if ($container_type_part instanceof TCallable &&
|
if ($container_type_part instanceof TCallable &&
|
||||||
(
|
(
|
||||||
$input_type_part instanceof TLiteralString
|
$input_type_part instanceof TLiteralString
|
||||||
|
|| $input_type_part instanceof TCallableString
|
||||||
|| $input_type_part instanceof TArray
|
|| $input_type_part instanceof TArray
|
||||||
|| $input_type_part instanceof ObjectLike
|
|| $input_type_part instanceof ObjectLike
|
||||||
|| $input_type_part instanceof TList
|
|| $input_type_part instanceof TList
|
||||||
|
Loading…
x
Reference in New Issue
Block a user