parameter is not an array - \Doctrine\Common\Collections\Collection