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:
parent
d2c805b071
commit
caffbe04a2
@ -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).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user