diff --git a/framework/db/ActiveRelationTrait.php b/framework/db/ActiveRelationTrait.php index 91112de66e..29ad0e4d9f 100644 --- a/framework/db/ActiveRelationTrait.php +++ b/framework/db/ActiveRelationTrait.php @@ -44,7 +44,7 @@ trait ActiveRelationTrait */ public $link; /** - * @var array the query associated with the pivot table. Please call [[via()]] + * @var array|object the query associated with the pivot table. Please call [[via()]] * to set this property instead of directly setting it. * This property is only used in relational context. * @see via()