Fixing method name 'rollBack', which was documented as 'rollback'
This commit is contained in:
parent
3cff0f88bd
commit
f8ba3a3434
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ looks like this:
|
|||
$em->flush();
|
||||
$em->getConnection()->commit();
|
||||
} catch (Exception $e) {
|
||||
$em->getConnection()->rollback();
|
||||
$em->getConnection()->rollBack();
|
||||
throw $e;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue