Skip to content

Do not treat mixed type arguments as compatible both ways when both generic types are parameterized - #6398

Merged
ondrejmirtes merged 2 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-njhy11t
Sep 9, 2026
Merged

Do not treat mixed type arguments as compatible both ways when both generic types are parameterized#6398
ondrejmirtes merged 2 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-njhy11t

Cover `mixed` type arguments in both directions with regression tests

c6be672
Select commit
Loading
Failed to load commit list.
blacksmith.sh / [code]smith skipped Sep 8, 2026 in 0s

[code]smith is not active on this PR

[code]smith is not active on this PR. Ask [code]smith to autofix CI on this PR: Enable autofix