doctrine/collections — pull request #36 by vilartoni (2014-07-29 16:47:01+00:00)
Title: Tidy up and CS fixes

- Renamed $_elements to $elements
- Added new line before return statements
- Returned early where possible
- Fixed usage of constant
- Removed duplicated code
- Removed unnecessary return statement in offsetSet