From ee85dba92e1e57e1b6befc674c359e87690d6f3a Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Thu, 8 Jan 2015 00:19:59 +0300 Subject: [PATCH] yii\db\ActiveQuery phpDoc fix close #6779 --- framework/db/ActiveQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/ActiveQuery.php b/framework/db/ActiveQuery.php index 893db45206..d23fadcdf0 100644 --- a/framework/db/ActiveQuery.php +++ b/framework/db/ActiveQuery.php @@ -330,7 +330,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface * This method differs from [[with()]] in that it will build up and execute a JOIN SQL statement * for the primary table. And when `$eagerLoading` is true, it will call [[with()]] in addition with the specified relations. * - * @param array $with the relations to be joined. Each array element represents a single relation. + * @param string|array $with the relations to be joined. Each array element represents a single relation. * The array keys are relation names, and the array values are the corresponding anonymous functions that * can be used to modify the relation queries on-the-fly. If a relation query does not need modification, * you may use the relation name as the array value. Sub-relations can also be specified (see [[with()]]).