We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af34f1f commit 02ca2eeCopy full SHA for 02ca2ee
1 file changed
src/Analyser/TypeSpecifier.php
@@ -863,6 +863,7 @@ public function specifyTypesInCondition(
863
if (
864
$expr->expr instanceof FuncCall
865
&& $expr->expr->name instanceof Name
866
+ && !$expr->expr->isFirstClassCallable()
867
&& count($expr->expr->getArgs()) >= 2
868
) {
869
$funcName = $expr->expr->name->toLowerString();
0 commit comments