phpstan-doctrine: False positive when working with ArrayAccess

This code fails with the error ... expects ArrayAccess<int, covariant object>, Doctrine\Common\Collections\ArrayCollection<int, stdClass> given.

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Comments: 20 (10 by maintainers)

Commits related to this issue

Most upvoted comments