Skip to content

Commit

Permalink
fixup! fix: add failing test when aliasing a column of a joined relation
Browse files Browse the repository at this point in the history
  • Loading branch information
alquerci committed Apr 16, 2024
1 parent 693ca6d commit c61998f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Hydrator/ArrayDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function addSelectedRelationToRowData($rowData, $dqlAlias, $cache)
return $rowData;
}

private function addIdentifierColumnToRowData($cache, $rowData, $dqlAlias, $value)
private function addIdentifierColumnToRowData($rowData, $cache, $dqlAlias, $value)
{
if ($cache['isIdentifier'] && !isset($rowData[$dqlAlias][$cache['columnName']])) {
$rowData[$dqlAlias][$cache['columnName']] = $value;
Expand Down

0 comments on commit c61998f

Please sign in to comment.