@@ -20,7 +20,7 @@ |
||
20 | 20 | public function createTransaction($func): TransactionInterface |
21 | 21 | { |
22 | 22 | $em = $this->getEntityManager(); |
23 | - if(!$em->isOpen()) { |
|
23 | + if (!$em->isOpen()) { |
|
24 | 24 | $em = $this->managerRegistry->resetManager($this->getManagerName()); |
25 | 25 | } |
26 | 26 | return new DoctrineTransaction($em, $func); |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @param $func |
24 | 24 | * @return TransactionInterface |
25 | 25 | */ |
26 | - public function createTransaction($func): TransactionInterface |
|
26 | + public function createTransaction($func): TransactionInterface |
|
27 | 27 | { |
28 | 28 | $em = $this->getEntityManager(); |
29 | 29 | if(!$em->isOpen()) { |