1
0
mirror of synced 2025-01-29 19:41:45 +03:00

code style

This commit is contained in:
Asmir Mustafic 2014-02-06 12:55:33 +01:00
parent 724e69146c
commit 2eb428df79

View File

@ -364,12 +364,12 @@ class ManyToManyPersister extends AbstractCollectionPersister
$joinConditions = array();
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);
$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;
}