doctrine/doctrine2 — pull request #578 by BenMorel (2013-02-12 11:53:28+00:00)
Title: Fix for wrong return types in documentation.

Several methods were declaring erroneous / incomplete return types.
This PR fixes them.