Minor docblock issue ResultSetMappingBuilder #5306

Closed
opened 2026-01-22 15:04:01 +01:00 by admin · 1 comment
Owner

Originally created by @arjank on GitHub (Oct 27, 2016).

Originally assigned to: @Ocramius on GitHub.

The docblock of ResultSetMappingBuilder::addJoinedEntityFromClassMetadata() in the 2.5 branch (and all previous 2.x branches) indicates that $relation should be an object. But the parameter is passed as-is to ResultSetMapping::addJoinedEntityResult() which expects it to be a string (that has been updated in commit cb31798). Would it be possible to backport commit 5481e0f from master to (at least) the 2.5 branch so the docblock correctly indicates what is expected?

Originally created by @arjank on GitHub (Oct 27, 2016). Originally assigned to: @Ocramius on GitHub. The docblock of `ResultSetMappingBuilder::addJoinedEntityFromClassMetadata()` in the 2.5 branch (and all previous 2.x branches) indicates that $relation should be an object. But the parameter is passed as-is to `ResultSetMapping::addJoinedEntityResult()` which expects it to be a string (that has been updated in commit cb31798). Would it be possible to backport commit 5481e0f from master to (at least) the 2.5 branch so the docblock correctly indicates what is expected?
admin added the Won't FixDocumentation labels 2026-01-22 15:04:01 +01:00
admin closed this issue 2026-01-22 15:04:02 +01:00
Author
Owner

@Ocramius commented on GitHub (Oct 27, 2016):

Sorry, not going to backport documentation issues: simply not worth the additional time.

@Ocramius commented on GitHub (Oct 27, 2016): Sorry, not going to backport documentation issues: simply not worth the additional time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5306