Fix a wrong return type #564

Merged
merged 1 commit into from Feb 3, 2013

Conversation

Projects
None yet
3 participants
Contributor

BenMorel commented Feb 3, 2013

BasicEntityPersister::executeInserts() is documented as:

@return array An array of any generated post-insert IDs. This will be an empty array
if the entity class does not use the IDENTITY generation strategy.

This PR fixes an empty return; that contradicted the documented return type.

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2271

guilhermeblanco added a commit that referenced this pull request Feb 3, 2013

@guilhermeblanco guilhermeblanco merged commit f0674ea into doctrine:master Feb 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment