code style
This commit is contained in:
parent
724e69146c
commit
2eb428df79
@ -364,12 +364,12 @@ class ManyToManyPersister extends AbstractCollectionPersister
|
|||||||
$joinConditions = array();
|
$joinConditions = array();
|
||||||
|
|
||||||
foreach ($joinColumns as $joinTableColumn) {
|
foreach ($joinColumns as $joinTableColumn) {
|
||||||
$joinConditions[] = 't.'.$joinTableColumn['name'].' = tr.'.$joinTableColumn['referencedColumnName'];
|
$joinConditions[] = 't.' . $joinTableColumn['name'] . ' = tr.' . $joinTableColumn['referencedColumnName'];
|
||||||
}
|
}
|
||||||
$tableName = $this->quoteStrategy->getTableName($targetEntity, $this->platform);
|
$tableName = $this->quoteStrategy->getTableName($targetEntity, $this->platform);
|
||||||
$quotedJoinTable .= ' JOIN '. $tableName. ' tr ON '.implode(' AND ', $joinConditions);
|
$quotedJoinTable .= ' JOIN ' . $tableName . ' tr ON ' . implode(' AND ', $joinConditions);
|
||||||
|
|
||||||
$whereClauses[] = 'tr.'.$targetEntity->getColumnName($indexBy).' = ?';
|
$whereClauses[] = 'tr.' . $targetEntity->getColumnName($indexBy) . ' = ?';
|
||||||
$params[] = $key;
|
$params[] = $key;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user