注释改进 增加Json配置驱动

This commit is contained in:
thinkphp
2016-06-01 12:27:28 +08:00
parent ec8234d5b6
commit 4d00aa539f
5 changed files with 40 additions and 9 deletions

View File

@@ -45,9 +45,9 @@ class Relation
/**
* 架构函数
* @access public
* @param \think\Model $model 上级模型对象
* @param Model $model 上级模型对象
*/
public function __construct($model)
public function __construct(Model $model)
{
$this->parent = $model;
}