From 2d15c762a2f23bd165d37c70f2ff125503edcfd9 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 1 Apr 2017 14:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Model.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/think/Model.php b/library/think/Model.php index e6d7661f..9024c30c 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -498,8 +498,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess /** * 获取关联模型数据 * @access public - * @param mixed $value 值 - * @param string|array $type 要转换的类型 + * @param Relation $modelRelation 模型关联对象 * @return mixed */ protected function getRelationData($modelRelation)