Closed midnightLuke closed 3 months ago
It appears that the map
function is incompatible with Doctrine, see the open issue on the ramsey/collections issue.
The gist is that the doctrine maintainers prefer the Closure
type to the callable
type and won't be persuaded to change their interface so they are incompatible, which is sad.
It would be great to have strongly typed collections on entities so that we could auto-map collections to arrays with types.