diff --git a/docs/en/reference/transactions-and-concurrency.rst b/docs/en/reference/transactions-and-concurrency.rst index f9c988dec..3c8cfe33b 100644 --- a/docs/en/reference/transactions-and-concurrency.rst +++ b/docs/en/reference/transactions-and-concurrency.rst @@ -75,7 +75,7 @@ looks like this: $em->flush(); $em->getConnection()->commit(); } catch (Exception $e) { - $em->getConnection()->rollback(); + $em->getConnection()->rollBack(); throw $e; }