调整Model类setAttr方法

This commit is contained in:
thinkphp
2017-03-28 12:47:05 +08:00
parent 8d61c3b13e
commit a4646ba1a9
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ class BelongsTo extends OneToOne
* @param string $foreignKey 关联外键
* @param string $localKey 关联主键
* @param string $joinType JOIN类型
* @param string $relation 关联名
*/
public function __construct(Model $parent, $model, $foreignKey, $localKey, $joinType = 'INNER', $relation = null)
{