Completed
Pull Request — master (#15348)
by Dmitry
13:35
created
framework/db/Query.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -866,7 +866,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
framework/db/mssql/QueryBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
framework/db/pgsql/QueryBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.