Skip to content

Commit b939e75

Browse files
committed
Fix CI failures [claude-ci-fix]
Automated fix attempt 1 for CI failures.
1 parent e8a33a8 commit b939e75

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Analyser/MutatingScope.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6390,14 +6390,13 @@ private function getStaticCallType(Expr\StaticCall $node): ?Type
63906390
$node,
63916391
);
63926392
if ($callType === null) {
6393+
$callType = new ErrorType();
63936394
if (
63946395
!$node->class instanceof Name
63956396
&& count($staticMethodCalledOnType->getObjectClassNames()) === 0
6396-
&& !$staticMethodCalledOnType->hasMethod($node->name->toString())->no()
6397+
&& $staticMethodCalledOnType->hasMethod($node->name->toString()) !== TrinaryLogic::createNo()
63976398
) {
63986399
$callType = new MixedType();
6399-
} else {
6400-
$callType = new ErrorType();
64016400
}
64026401
}
64036402

0 commit comments

Comments
 (0)