#6759 removing outdated comment as per @alcaeus' review
Ref: https://github.com/doctrine/doctrine2/pull/6760#discussion_r143347881
This commit is contained in:
parent
dd12ba88ee
commit
3dd7eb5888
@ -802,8 +802,6 @@ class BasicEntityPersister implements EntityPersister
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// unset the old value and set the new sql aliased value here. By definition
|
|
||||||
// unset($identifier[$targetKeyColumn] works here with how UnitOfWork::createEntity() calls this method.
|
|
||||||
$computedIdentifier[$targetClass->getFieldForColumn($targetKeyColumn)] =
|
$computedIdentifier[$targetClass->getFieldForColumn($targetKeyColumn)] =
|
||||||
$sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
|
$sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user