Open jordisala1991 opened 1 year ago
I found these snippets:
minimal reproducer: https://psalm.dev/r/558ef4b2a5
Note: if we replace T by int, the error disappear Also, if we drop the upper bound of the template (int in the reproducer) the error disappear as well
I found these snippets:
We are facing an issue when upgrading from psalm 4 to psalm 5 on SonataMediaBundle. Here is the PR with the discussion about it: https://github.com/sonata-project/SonataMediaBundle/pull/2360
We have figured out a simpler reproducer: https://psalm.dev/r/6f6a50ae98
It seems to be caused by the
T of someInterface
on 2 consecutive classes.