@@ -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\mssql; |
9 | 9 | |
10 | 10 | use yii\base\InvalidParamException; |
11 | -use yii\base\NotSupportedException; |
|
12 | 11 | use yii\db\Expression; |
13 | 12 | |
14 | 13 | /** |
@@ -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\PdoValue; |
13 | 12 | use yii\db\Query; |
14 | 13 | use yii\helpers\StringHelper; |