@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * yii migrate/down all # revert all migrations |
204 | 204 | * ``` |
205 | 205 | * |
206 | - * @param int|string $limit the number of migrations to be reverted. Defaults to 1, |
|
206 | + * @param integer $limit the number of migrations to be reverted. Defaults to 1, |
|
207 | 207 | * meaning the last applied migration will be reverted. When value is "all", all migrations will be reverted. |
208 | 208 | * @throws Exception if the number of the steps specified is less than 1. |
209 | 209 | * |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * yii migrate/redo all # redo all migrations |
266 | 266 | * ``` |
267 | 267 | * |
268 | - * @param int|string $limit the number of migrations to be redone. Defaults to 1, |
|
268 | + * @param integer $limit the number of migrations to be redone. Defaults to 1, |
|
269 | 269 | * meaning the last applied migration will be redone. When equals "all", all migrations will be redone. |
270 | 270 | * @throws Exception if the number of the steps specified is less than 1. |
271 | 271 | * |
@@ -462,7 +462,7 @@ discard block |
||
462 | 462 | * yii migrate/history all # showing the whole history |
463 | 463 | * ``` |
464 | 464 | * |
465 | - * @param int|string $limit the maximum number of migrations to be displayed. |
|
465 | + * @param integer $limit the maximum number of migrations to be displayed. |
|
466 | 466 | * If it is "all", the whole migration history will be displayed. |
467 | 467 | * @throws \yii\console\Exception if invalid limit value passed |
468 | 468 | */ |
@@ -506,7 +506,7 @@ discard block |
||
506 | 506 | * yii migrate/new all # showing all new migrations |
507 | 507 | * ``` |
508 | 508 | * |
509 | - * @param int|string $limit the maximum number of new migrations to be displayed. |
|
509 | + * @param integer $limit the maximum number of new migrations to be displayed. |
|
510 | 510 | * If it is `all`, all available new migrations will be displayed. |
511 | 511 | * @throws \yii\console\Exception if invalid limit value passed |
512 | 512 | */ |
@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | * @param string $cacheKey generated cache key to store data. |
453 | 453 | * @param string $route the route (e.g. `site/index`). |
454 | 454 | * @param array $params rule params. |
455 | - * @return bool|string the created URL |
|
455 | + * @return string|false the created URL |
|
456 | 456 | * @see createUrl() |
457 | 457 | * @since 2.0.8 |
458 | 458 | */ |
@@ -473,7 +473,7 @@ discard block |
||
473 | 473 | |
474 | 474 | /** |
475 | 475 | * Store rule (e.g. [[UrlRule]]) to internal cache |
476 | - * @param $cacheKey |
|
476 | + * @param string $cacheKey |
|
477 | 477 | * @param UrlRuleInterface $rule |
478 | 478 | * @since 2.0.8 |
479 | 479 | */ |
@@ -490,7 +490,7 @@ discard block |
||
490 | 490 | * Note that unlike [[\yii\helpers\Url::toRoute()]], this method always treats the given route |
491 | 491 | * as an absolute route. |
492 | 492 | * |
493 | - * @param string|array $params use a string to represent a route (e.g. `site/index`), |
|
493 | + * @param string[] $params use a string to represent a route (e.g. `site/index`), |
|
494 | 494 | * or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`). |
495 | 495 | * @param string|null $scheme the scheme to use for the URL (either `http`, `https` or empty string |
496 | 496 | * for protocol-relative URL). |