Fixed incorrect case of another two references of rollback
This commit is contained in:
parent
f8ba3a3434
commit
3c7d92e4cc
@ -238,7 +238,7 @@ use Doctrine\Common\Util\ClassUtils;
|
|||||||
return $return ?: true;
|
return $return ?: true;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->close();
|
$this->close();
|
||||||
$this->conn->rollback();
|
$this->conn->rollBack();
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
@ -257,7 +257,7 @@ use Doctrine\Common\Util\ClassUtils;
|
|||||||
*/
|
*/
|
||||||
public function rollback()
|
public function rollback()
|
||||||
{
|
{
|
||||||
$this->conn->rollback();
|
$this->conn->rollBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -410,7 +410,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$conn->commit();
|
$conn->commit();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->em->close();
|
$this->em->close();
|
||||||
$conn->rollback();
|
$conn->rollBack();
|
||||||
|
|
||||||
$this->afterTransactionRolledBack();
|
$this->afterTransactionRolledBack();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user