Skip to content

Commit 09f0720

Browse files
Clean code TransactionInterface::class. (#559)
1 parent a61d4c7 commit 09f0720

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

src/Transaction/TransactionInterface.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,25 @@ interface TransactionInterface extends LoggerAwareInterface
2323
/**
2424
* A constant representing the transaction isolation level `READ UNCOMMITTED`.
2525
*
26-
* {@see http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels}
26+
* @link http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels
2727
*/
2828
public const READ_UNCOMMITTED = 'READ UNCOMMITTED';
29-
3029
/**
3130
* A constant representing the transaction isolation level `READ COMMITTED`.
3231
*
33-
* {@see http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels}
32+
* @link http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels
3433
*/
3534
public const READ_COMMITTED = 'READ COMMITTED';
36-
3735
/**
3836
* A constant representing the transaction isolation level `REPEATABLE READ`.
3937
*
40-
* {@see http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels}
38+
* @link http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels
4139
*/
4240
public const REPEATABLE_READ = 'REPEATABLE READ';
43-
4441
/**
4542
* A constant representing the transaction isolation level `SERIALIZABLE`.
4643
*
47-
* {@see http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels}
44+
* @link http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels
4845
*/
4946
public const SERIALIZABLE = 'SERIALIZABLE';
5047

@@ -69,7 +66,7 @@ interface TransactionInterface extends LoggerAwareInterface
6966
*
7067
* @throws Exception
7168
* @throws Throwable If DB connection fails or the current transaction is active.
72-
* @throws InvalidConfigException If {@see db} is `null` or invalid.
69+
* @throws InvalidConfigException If {@see \Yiisoft\Db\Connection\ConnectionInterface} is `null` or invalid.
7370
* @throws NotSupportedException If the DBMS does not support nested transactions or the transaction is active.
7471
*/
7572
public function begin(string $isolationLevel = null): void;

0 commit comments

Comments
 (0)