Completed
Push — master ( 21c9d9...7e68f2 )
by Jelle
03:00
created
src/Entity/Proxy/SportProxy.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,8 +77,7 @@
 block discarded – undo
77 77
     if (isset($this->repository[$mapped->id])) {
78 78
       $entity = $this->repository[$mapped->id];
79 79
       $entity->update($mapped);
80
-    }
81
-    else {
80
+    } else {
82 81
       $factory =  $this->entityManager->factory($this->getEntityTypeName());
83 82
       $this->repository[$mapped->id] = $factory->create($mapped, $this->getEntityTypeName(), FALSE);
84 83
     }
Please login to merge, or discard this patch.