collection助手函数返回think\Collection对象

This commit is contained in:
thinkphp
2017-01-18 10:25:10 +08:00
parent a1cb6ea4ca
commit be6d528f68
2 changed files with 2 additions and 1 deletions

View File

@@ -160,6 +160,7 @@ class MorphMany extends Relation
* @param array $where 关联预查询条件
* @param string $relation 关联名
* @param string $subRelation 子关联
* @param \Closure $closure 闭包
* @return array
*/
protected function eagerlyMorphToMany($where, $relation, $subRelation = '', $closure = false)