Fixing method name 'rollBack', which was documented as 'rollback'
This commit is contained in:
parent
3cff0f88bd
commit
f8ba3a3434
@ -75,7 +75,7 @@ looks like this:
|
|||||||
$em->flush();
|
$em->flush();
|
||||||
$em->getConnection()->commit();
|
$em->getConnection()->commit();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$em->getConnection()->rollback();
|
$em->getConnection()->rollBack();
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user