diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index f175d47e9..56a7ff7b8 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -1876,7 +1876,8 @@ class UnitOfWork implements PropertyChangedListener return $managedCopy; } - private function ensureVersionMatch(ClassMetadata $class, $entity, $managedCopy) { + private function ensureVersionMatch(ClassMetadata $class, $entity, $managedCopy) + { if ($class->isVersioned && $this->isLoaded($managedCopy) && $this->isLoaded($entity)) { $reflField = $class->reflFields[$class->versionField]; $managedCopyVersion = $reflField->getValue($managedCopy);