1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Minor docblock correction

The documentation for the method ‘addJoinedEntityFromClassMetadata’ is
wrong. As we can see currently says you need to pass an object and that
is wrong. The $relation variable is passed to ‘addJoinedEntityResult’
which is using it as a ‘string’.
This commit is contained in:
aleeeftw 2015-11-01 10:43:03 +00:00 committed by Marco Pivetta
parent d2c805b071
commit caffbe04a2
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -110,7 +110,7 @@ class ResultSetMappingBuilder extends ResultSetMapping
* @param string $class The class name of the joined entity. * @param string $class The class name of the joined entity.
* @param string $alias The unique alias to use for the joined entity. * @param string $alias The unique alias to use for the joined entity.
* @param string $parentAlias The alias of the entity result that is the parent of this joined result. * @param string $parentAlias The alias of the entity result that is the parent of this joined result.
* @param object $relation The association field that connects the parent entity result * @param string $relation The association field that connects the parent entity result
* with the joined entity result. * with the joined entity result.
* @param array $renamedColumns Columns that have been renamed (tableColumnName => queryColumnName). * @param array $renamedColumns Columns that have been renamed (tableColumnName => queryColumnName).
* @param int|null $renameMode One of the COLUMN_RENAMING_* constants or array for BC reasons (CUSTOM). * @param int|null $renameMode One of the COLUMN_RENAMING_* constants or array for BC reasons (CUSTOM).