mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #11389] Fix psalm errors: remove override of template type #12990
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/11389
State: closed
Merged: Yes
See https://github.com/doctrine/collections/issues/368 for the same issue in doctrine/collections which has been fixed there.
The issue happened when using ->contains(). Running psalm emitted
We should either not define @template TMaybeContained or re-define the psalm docblock from ReadableCollection completely.
Repairing the docblock necessitates an update to the psalm baseline: one "known issue" is no longer an issue and could thus be removed.