修改connecttion和belongsTo若干文档注释错误

This commit is contained in:
yinggaozhen
2017-08-02 21:31:05 +08:00
committed by ThinkPHP
parent 7c9b2079e8
commit 64c51cdde6
3 changed files with 9 additions and 7 deletions

View File

@@ -2336,7 +2336,7 @@ class Query
$modelName = $this->model;
if (count($resultSet) > 0) {
foreach ($resultSet as $key => $result) {
/** @var Model $result */
/** @var Model $model */
$model = new $modelName($result);
$model->isUpdate(true);
@@ -2392,6 +2392,7 @@ class Query
* @param mixed $value 缓存数据
* @param array $options 缓存参数
* @param array $bind 绑定参数
* @return string
*/
protected function getCacheKey($value, $options, $bind = [])
{