ArrayCollection->contains() defines a psalm template for TMaybeContained but does not define a param and return-type for that template. This gives the following psalm ...
This seems somewhat related to #642, so I guess the problem is already known, but anyway: The following code produces unexpected results: $c = new Doctrine\Common ...