Skip to content
Permalink
Browse files

Allow callable-string to be used for callable

  • Loading branch information
muglug committed Dec 1, 2019
1 parent abdf37a commit 4e077794970ad8c7a52aaa5c183e40e31487a2af
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Psalm/Internal/Analyzer/TypeAnalyzer.php
@@ -1375,6 +1375,7 @@ public static function isAtomicContainedBy(
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

0 comments on commit 4e07779

Please sign in to comment.
You can’t perform that action at this time.