Skip to content

Commit 972f75b

Browse files
committed
Fix
1 parent 68529b5 commit 972f75b

File tree

3 files changed

+940
-87
lines changed

3 files changed

+940
-87
lines changed

bin/gen_callmap.php

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ function assertTypeValidity(ReflectionType $reflected, string &$specified, strin
145145
try {
146146
if (!UnionTypeComparator::isContainedBy($codebase, $callMapType, $expectedType, false, false, null, false, false) && !str_contains($specified, 'static')) {
147147
$specified = $expectedType->getId(true);
148+
$callMapType = $expectedType;
148149
}
149150
} catch (Throwable) {
150151
}

0 commit comments

Comments
 (0)