Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Nov 30, 2024
1 parent 68529b5 commit 972f75b
Show file tree
Hide file tree
Showing 3 changed files with 940 additions and 87 deletions.
1 change: 1 addition & 0 deletions bin/gen_callmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function assertTypeValidity(ReflectionType $reflected, string &$specified, strin
try {
if (!UnionTypeComparator::isContainedBy($codebase, $callMapType, $expectedType, false, false, null, false, false) && !str_contains($specified, 'static')) {
$specified = $expectedType->getId(true);
$callMapType = $expectedType;
}
} catch (Throwable) {
}
Expand Down
Loading

0 comments on commit 972f75b

Please sign in to comment.