Skip to content

Commit

Permalink
doctrine#6759 removing outdated comment as per @alcaeus' review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius authored and maglnet committed Oct 10, 2018
1 parent ae00757 commit ec0a2da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,6 @@ public function loadOneToOneEntity(array $assoc, $sourceEntity, array $identifie
);
}

// 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)] =
$sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
}
Expand Down

0 comments on commit ec0a2da

Please sign in to comment.