Skip to content

Commit f3f8508

Browse files
committed
Update TypeSpecifier.php
1 parent 3accc8d commit f3f8508

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
@@ -869,6 +869,7 @@ public function specifyTypesInCondition(
869869
if (
870870
$expr->expr instanceof FuncCall
871871
&& $expr->expr->name instanceof Name
872+
&& !$expr->expr->isFirstClassCallable()
872873
&& count($expr->expr->getArgs()) >= 2
873874
) {
874875
$funcName = $expr->expr->name->toLowerString();

0 commit comments

Comments
 (0)