Use the correct type for the exception message
Use the correct type for the exception message

Since the UoW checks each item of a *-to-many association to ensure
it has the correct type, we should never say that we expect an instance
of `Doctrine\Common\Collections\Collection` or an `array`.

Ocramius/doctrine2,stof/doctrine2,PowerKiKi/doctrine2,lcobucci/doctrine2,mikeSimonson/doctrine2,localheinz/doctrine2,Majkl578/doctrine2,localheinz/doctrine2,doctrine/doctrine2,gencer/doctrine2,Majkl578/doctrine2,mikeSimonson/doctrine2,Ocramius/doctrine2,bigfoot90/doctrine2,aivus/doctrine2,TomasVotruba/doctrine2,TomasVotruba/doctrine2,holtkamp/doctrine2,holtkamp/doctrine2,deeky666/doctrine2,lcobucci/doctrine2,bigfoot90/doctrine2,Sitetheory/doctrine2,doctrine/doctrine2,aivus/doctrine2,stof/doctrine2,deeky666/doctrine2,gencer/doctrine2,PowerKiKi/doctrine2,Ocramius/doctrine2,Sitetheory/doctrine2