1)修改了一些注释的错误参数类型和返回类型

2)修改了一些无意义的变量名
3)本次 commit 没有逻辑上的变动
This commit is contained in:
Jinchun Yang
2016-01-29 22:28:01 +08:00
parent 58cbc8e31a
commit f6a708e1f8
29 changed files with 104 additions and 88 deletions

View File

@@ -46,6 +46,8 @@ class Oracle extends Driver
* @param array $bind 参数绑定
* @param boolean $fetch 不执行只是获取SQL
* @return integer
* @throws \Exception
* @throws \think\Exception
*/
public function execute($sql, $bind = [], $fetch = false)
{
@@ -84,7 +86,7 @@ class Oracle extends Driver
}
return $this->numRows;
} catch (\PDOException $e) {
throw new Exception($this->getError());
throw new \Exception($this->getError());
}
}

View File

@@ -77,7 +77,7 @@ class Pgsql extends Driver
/**
* limit分析
* @access protected
* @param mixed $lmit
* @param mixed $limit
* @return string
*/
public function parseLimit($limit)