change it to `use Doctrine\Common\Collections\ArrayCollection;`