@@ -240,6 +240,7 @@ |
||
240 | 240 | |
241 | 241 | /** |
242 | 242 | * {@inheritdoc} |
243 | + * @param string $name |
|
243 | 244 | */ |
244 | 245 | public function quoteSimpleTableName($name) |
245 | 246 | { |
@@ -949,7 +949,7 @@ discard block |
||
949 | 949 | |
950 | 950 | /** |
951 | 951 | * Sets the GROUP BY part of the query. |
952 | - * @param string|array|ExpressionInterface $columns the columns to be grouped by. |
|
952 | + * @param string $columns the columns to be grouped by. |
|
953 | 953 | * Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). |
954 | 954 | * The method will automatically quote the column names unless a column contains some parenthesis |
955 | 955 | * (which means the column contains a DB expression). |
@@ -1154,7 +1154,7 @@ discard block |
||
1154 | 1154 | |
1155 | 1155 | /** |
1156 | 1156 | * Appends a SQL statement using UNION operator. |
1157 | - * @param string|Query $sql the SQL statement to be appended using UNION |
|
1157 | + * @param Query $sql the SQL statement to be appended using UNION |
|
1158 | 1158 | * @param bool $all TRUE if using UNION ALL and FALSE if using UNION |
1159 | 1159 | * @return $this the query object itself |
1160 | 1160 | */ |
@@ -425,6 +425,7 @@ |
||
425 | 425 | |
426 | 426 | /** |
427 | 427 | * {@inheritdoc} |
428 | + * @param Query $query |
|
428 | 429 | */ |
429 | 430 | public function build($query, $params = []) |
430 | 431 | { |
@@ -355,7 +355,7 @@ |
||
355 | 355 | * Safely casts a float to string independent of the current locale. |
356 | 356 | * |
357 | 357 | * The decimal separator will always be `.`. |
358 | - * @param float|int $number a floating point number or integer. |
|
358 | + * @param double $number a floating point number or integer. |
|
359 | 359 | * @return string the string representation of the number. |
360 | 360 | * @since 2.0.13 |
361 | 361 | */ |
@@ -77,6 +77,7 @@ |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * {@inheritdoc} |
80 | + * @return string |
|
80 | 81 | */ |
81 | 82 | public function formatMessage($message) |
82 | 83 | { |
@@ -211,6 +211,7 @@ discard block |
||
211 | 211 | /** |
212 | 212 | * {@inheritdoc} |
213 | 213 | * @since 2.0.8 |
214 | + * @param string $comment |
|
214 | 215 | */ |
215 | 216 | public function addCommentOnColumn($table, $column, $comment) |
216 | 217 | { |
@@ -227,6 +228,7 @@ discard block |
||
227 | 228 | /** |
228 | 229 | * {@inheritdoc} |
229 | 230 | * @since 2.0.8 |
231 | + * @param string $comment |
|
230 | 232 | */ |
231 | 233 | public function addCommentOnTable($table, $comment) |
232 | 234 | { |
@@ -245,6 +245,7 @@ |
||
245 | 245 | |
246 | 246 | /** |
247 | 247 | * {@inheritdoc} |
248 | + * @param string $table |
|
248 | 249 | */ |
249 | 250 | public function insert($table, $columns, &$params) |
250 | 251 | { |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | |
377 | 377 | /** |
378 | 378 | * Renders the caption element. |
379 | - * @return bool|string the rendered caption element or `false` if no caption element should be rendered. |
|
379 | + * @return string|false the rendered caption element or `false` if no caption element should be rendered. |
|
380 | 380 | */ |
381 | 381 | public function renderCaption() |
382 | 382 | { |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | |
390 | 390 | /** |
391 | 391 | * Renders the column group HTML. |
392 | - * @return bool|string the column group HTML or `false` if no column group should be rendered. |
|
392 | + * @return string|false the column group HTML or `false` if no column group should be rendered. |
|
393 | 393 | */ |
394 | 394 | public function renderColumnGroup() |
395 | 395 | { |
@@ -773,7 +773,7 @@ |
||
773 | 773 | * @param string $pattern |
774 | 774 | * @param bool $caseSensitive |
775 | 775 | * @throws InvalidArgumentException |
776 | - * @return array with keys: (string) pattern, (int) flags, (int|bool) firstWildcard |
|
776 | + * @return string with keys: (string) pattern, (int) flags, (int|bool) firstWildcard |
|
777 | 777 | */ |
778 | 778 | private static function parseExcludePattern($pattern, $caseSensitive) |
779 | 779 | { |