@@ -425,7 +425,7 @@ discard block |
||
425 | 425 | * Restores the value of select to make this query reusable. |
426 | 426 | * @param string|Expression $selectExpression |
427 | 427 | * @param Connection|null $db |
428 | - * @return bool|string |
|
428 | + * @return string |
|
429 | 429 | */ |
430 | 430 | protected function queryScalar($selectExpression, $db) |
431 | 431 | { |
@@ -878,7 +878,7 @@ discard block |
||
878 | 878 | |
879 | 879 | /** |
880 | 880 | * Sets the GROUP BY part of the query. |
881 | - * @param string|array|Expression $columns the columns to be grouped by. |
|
881 | + * @param string $columns the columns to be grouped by. |
|
882 | 882 | * Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). |
883 | 883 | * The method will automatically quote the column names unless a column contains some parenthesis |
884 | 884 | * (which means the column contains a DB expression). |
@@ -1081,7 +1081,7 @@ discard block |
||
1081 | 1081 | |
1082 | 1082 | /** |
1083 | 1083 | * Appends a SQL statement using UNION operator. |
1084 | - * @param string|Query $sql the SQL statement to be appended using UNION |
|
1084 | + * @param Query $sql the SQL statement to be appended using UNION |
|
1085 | 1085 | * @param bool $all TRUE if using UNION ALL and FALSE if using UNION |
1086 | 1086 | * @return $this the query object itself |
1087 | 1087 | */ |