Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arendjantetteroo committed Jul 12, 2011
1 parent 7c4bed2 commit 9bb0405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/Common/DataFixtures/ReferenceRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public function setReference($name, $reference)
// in case if reference is set after flush, store its identity
$uow = $this->manager->getUnitOfWork();
if ($uow->isInIdentityMap($reference)) {
if(method_exists($uow, 'getEntityIdentifier')){
if (method_exists($uow, 'getEntityIdentifier')) {
$this->identities[$name] = $uow->getEntityIdentifier($reference);
}elseif(method_exists($uow, 'getDocumentIdentifier')){
} elseif (method_exists($uow, 'getDocumentIdentifier')) {
$this->identities[$name] = $uow->getDocumentIdentifier($reference);
}
}
Expand Down

0 comments on commit 9bb0405

Please sign in to comment.