We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3accc8d commit f3f8508Copy full SHA for f3f8508
1 file changed
src/Analyser/TypeSpecifier.php
@@ -869,6 +869,7 @@ public function specifyTypesInCondition(
869
if (
870
$expr->expr instanceof FuncCall
871
&& $expr->expr->name instanceof Name
872
+ && !$expr->expr->isFirstClassCallable()
873
&& count($expr->expr->getArgs()) >= 2
874
) {
875
$funcName = $expr->expr->name->toLowerString();
0 commit comments