@@ -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 | */ |
@@ -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) |