Open
Description
I noticed that some methods of Collection
return false
on failure. Specifically first()
, last()
, current()
, next()
and indexOf()
. It would be better in my opinion to return null
instead.
Since this is a BC break I'd like to propose this for doctrine/collections 2.0.
c3564a6
(Of course all Collection
implementations and tests would need to be changed accordingly.)