From ab0e854830f1dcff64e9b8e0160727040519a57e Mon Sep 17 00:00:00 2001
From: Marco Pivetta <ocramius@gmail.com>
Date: Sun, 18 Dec 2016 14:39:46 +0100
Subject: [PATCH] #6174 #5570 CS - spacing

---
 lib/Doctrine/ORM/UnitOfWork.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php
index a406c906a..101d28fb8 100644
--- a/lib/Doctrine/ORM/UnitOfWork.php
+++ b/lib/Doctrine/ORM/UnitOfWork.php
@@ -1850,7 +1850,7 @@ class UnitOfWork implements PropertyChangedListener
 
                     $this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
                     $this->persistNew($class, $managedCopy);
-                }else{
+                } else {
                     $this->ensureVersionMatch($class, $entity, $managedCopy);
                     $this->mergeEntityStateIntoManagedCopy($entity, $managedCopy);
                 }