Skip to content

Commit

Permalink
Fix: use correct constants
Browse files Browse the repository at this point in the history
Use the correct class and constant names for the transaction isolation levels.
  • Loading branch information
ysbreker authored Apr 29, 2022
1 parent 8fa8adb commit 93489fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/en/reference/transactions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ constants:
::

<?php
Connection::TRANSACTION_READ_UNCOMMITTED
Connection::TRANSACTION_READ_COMMITTED
Connection::TRANSACTION_REPEATABLE_READ
Connection::TRANSACTION_SERIALIZABLE
TransactionIsolationLevel::READ_UNCOMMITTED
TransactionIsolationLevel::READ_COMMITTED
TransactionIsolationLevel::REPEATABLE_READ
TransactionIsolationLevel::SERIALIZABLE

The default transaction isolation level of a
``Doctrine\DBAL\Connection`` is chosen by the underlying platform
Expand Down

0 comments on commit 93489fe

Please sign in to comment.