[PR #564] Fix a wrong return type #8384

Closed
opened 2026-01-22 15:59:40 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/564

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/doctrine/orm/pull/564 **State:** closed **Merged:** Yes --- `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.
admin added the pull-request label 2026-01-22 15:59:40 +01:00
admin closed this issue 2026-01-22 15:59:40 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8384