mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01: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:
@@ -110,7 +110,7 @@ class ResultSetMappingBuilder extends ResultSetMapping
|
||||
* @param string $class The class name of 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 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.
|
||||
* @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).
|
||||
|
||||
Reference in New Issue
Block a user