注释修正

This commit is contained in:
thinkphp
2016-06-17 17:09:32 +08:00
parent f91cb894c8
commit fddcbac7ae
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ function validate($name = '', $layer = 'validate', $appendSuffix = false)
* 实例化数据库类 * 实例化数据库类
* @param string $name 操作的数据表名称(不含前缀) * @param string $name 操作的数据表名称(不含前缀)
* @param array|string $config 数据库配置参数 * @param array|string $config 数据库配置参数
* @return \think\db\Connection * @return \think\db\Query
*/ */
function db($name = '', $config = []) function db($name = '', $config = [])
{ {

View File

@@ -18,8 +18,8 @@ use think\Config;
use think\Db; use think\Db;
use think\db\Builder; use think\db\Builder;
use think\db\Connection; use think\db\Connection;
use think\db\DbException;
use think\Exception; use think\Exception;
use think\exception\DbException;
use think\exception\PDOException; use think\exception\PDOException;
use think\db\exception\BindParamException; use think\db\exception\BindParamException;
use think\db\exception\ModelNotFoundException; use think\db\exception\ModelNotFoundException;