Skip to content

Commit

Permalink
修改 PHPDOC 中的 PDOException 异常命名空间
Browse files Browse the repository at this point in the history
  • Loading branch information
YepYuYu authored and liu21st committed Jul 10, 2023
1 parent bf3579a commit 8c264a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/db/concern/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Transaction
* @param callable $callback 数据操作方法回调
* @param array $dbs 多个查询对象或者连接对象
*
* @throws PDOException
* @throws \PDOException
* @throws \Exception
* @throws \Throwable
*
Expand Down Expand Up @@ -60,7 +60,7 @@ public function startTrans(): void
/**
* 用于非自动提交状态下面的查询提交.
*
* @throws PDOException
* @throws \PDOException
*
* @return void
*/
Expand All @@ -72,7 +72,7 @@ public function commit(): void
/**
* 事务回滚.
*
* @throws PDOException
* @throws \PDOException
*
* @return void
*/
Expand Down

0 comments on commit 8c264a3

Please sign in to comment.