Passed
Push — master ( d21849...f169f5 )
by Luiz Kim
08:45 queued 06:34
created
src/Listener/DefaultEventListener.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,9 @@
 block discarded – undo
51 51
             $service = $this->container->get($serviceName);
52 52
             if (method_exists($service, $method)) {
53 53
                 $entity = $service->$method($entity);
54
-                if ('afterPersist' === $method && $entity)
55
-                    $this->manager->refresh($entity);
54
+                if ('afterPersist' === $method && $entity) {
55
+                                    $this->manager->refresh($entity);
56
+                }
56 57
             }
57 58
         }
58 59
     }
Please login to merge, or discard this patch.