mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
优化MorphTo中方法默认值
This commit is contained in:
@@ -137,10 +137,11 @@ class MorphTo extends Relation
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 移除关联查询参数
|
* 移除关联查询参数
|
||||||
|
* @param true $option
|
||||||
* @access public
|
* @access public
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function removeOption()
|
public function removeOption($option = true)
|
||||||
{
|
{
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user