Completed
Pull Request — master (#15348)
by Dmitry
10:25
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/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\Query;
13 12
 use yii\helpers\StringHelper;
14 13
 
Please login to merge, or discard this patch.
framework/db/conditions/BetweenConditionBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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]]
Please login to merge, or discard this patch.
framework/db/oci/QueryBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
framework/db/QueryBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1270,7 +1270,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.