@@ -866,7 +866,7 @@ discard block |
||
866 | 866 | |
867 | 867 | /** |
868 | 868 | * Sets the GROUP BY part of the query. |
869 | - * @param string|array|ExpressionInterface $columns the columns to be grouped by. |
|
869 | + * @param string $columns the columns to be grouped by. |
|
870 | 870 | * Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). |
871 | 871 | * The method will automatically quote the column names unless a column contains some parenthesis |
872 | 872 | * (which means the column contains a DB expression). |
@@ -1069,7 +1069,7 @@ discard block |
||
1069 | 1069 | |
1070 | 1070 | /** |
1071 | 1071 | * Appends a SQL statement using UNION operator. |
1072 | - * @param string|Query $sql the SQL statement to be appended using UNION |
|
1072 | + * @param Query $sql the SQL statement to be appended using UNION |
|
1073 | 1073 | * @param bool $all TRUE if using UNION ALL and FALSE if using UNION |
1074 | 1074 | * @return $this the query object itself |
1075 | 1075 | */ |
@@ -8,7 +8,6 @@ |
||
8 | 8 | namespace yii\db\pgsql; |
9 | 9 | |
10 | 10 | use yii\base\InvalidParamException; |
11 | -use yii\db\ExpressionInterface; |
|
12 | 11 | use yii\db\Query; |
13 | 12 | use yii\helpers\StringHelper; |
14 | 13 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use yii\db\ExpressionBuilderInterface; |
6 | 6 | use yii\db\ExpressionBuilderTrait; |
7 | 7 | use yii\db\ExpressionInterface; |
8 | -use yii\db\Query; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * Class BetweenConditionBuilder builds objects of [[BetweenCondition]] |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use yii\base\InvalidParamException; |
11 | 11 | use yii\db\Connection; |
12 | 12 | use yii\db\Exception; |
13 | -use yii\db\Expression; |
|
14 | 13 | use yii\helpers\StringHelper; |
15 | 14 | use yii\db\ExpressionInterface; |
16 | 15 |
@@ -1270,7 +1270,7 @@ |
||
1270 | 1270 | * TODO: docs |
1271 | 1271 | * |
1272 | 1272 | * @param array $condition |
1273 | - * @return string |
|
1273 | + * @return ConditionInterface |
|
1274 | 1274 | * @since 2.0.14 |
1275 | 1275 | */ |
1276 | 1276 | protected function createConditionFromArray($condition, &$params) |