@@ -77,8 +77,7 @@ |
||
| 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 | } |