Passed
Push — main ( 151aaf...dc275a )
by Slawomir
04:40
created
src/Infrastructure/Doctrine/Transactions/DoctrineTransactionFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.