Skip to content

Commit 02ca2ee

Browse files
committed
Update TypeSpecifier.php
1 parent af34f1f commit 02ca2ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Analyser/TypeSpecifier.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ public function specifyTypesInCondition(
863863
if (
864864
$expr->expr instanceof FuncCall
865865
&& $expr->expr->name instanceof Name
866+
&& !$expr->expr->isFirstClassCallable()
866867
&& count($expr->expr->getArgs()) >= 2
867868
) {
868869
$funcName = $expr->expr->name->toLowerString();

0 commit comments

Comments
 (0)