From 563e7e0174c7d87fa8ee9b3e3d88e30b543235a3 Mon Sep 17 00:00:00 2001 From: Thiago Talma Date: Tue, 15 Apr 2014 19:58:06 -0300 Subject: [PATCH] Update ActiveQuery.php PHPDoc comment does not match function or method signature Update PHPDoc Comment Adjust code standard --- framework/db/ActiveQuery.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/db/ActiveQuery.php b/framework/db/ActiveQuery.php index bc28f3c747..69327989c4 100644 --- a/framework/db/ActiveQuery.php +++ b/framework/db/ActiveQuery.php @@ -416,7 +416,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface // remove duplicated joins added by joinWithRelations that may be added // e.g. when joining a relation and a via relation at the same time $uniqueJoins = []; - foreach($this->join as $j) { + foreach ($this->join as $j) { $uniqueJoins[serialize($j)] = $j; } $this->join = array_values($uniqueJoins); @@ -641,6 +641,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface * The new condition and the existing one will be joined using the 'AND' operator. * @param string|array $condition the new ON condition. Please refer to [[where()]] * on how to specify this parameter. + * @param array $params the parameters (name => value) to be bound to the query. * @return static the query object itself * @see onCondition() * @see orOnCondition() @@ -661,6 +662,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface * The new condition and the existing one will be joined using the 'OR' operator. * @param string|array $condition the new ON condition. Please refer to [[where()]] * on how to specify this parameter. + * @param array $params the parameters (name => value) to be bound to the query. * @return static the query object itself * @see onCondition() * @see andOnCondition()