Completed
Pull Request — master (#13350)
by Robert
32:18 queued 28:45
created
framework/web/UrlManager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * @param string $cacheKey generated cache key to store data.
422 422
      * @param string $route the route (e.g. `site/index`).
423 423
      * @param array $params rule params.
424
-     * @return bool|string the created URL
424
+     * @return string|false the created URL
425 425
      * @see createUrl()
426 426
      * @since 2.0.8
427 427
      */
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
 
443 443
     /**
444 444
      * Store rule (e.g. [[UrlRule]]) to internal cache
445
-     * @param $cacheKey
445
+     * @param string $cacheKey
446 446
      * @param UrlRuleInterface $rule
447 447
      * @since 2.0.8
448 448
      */
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
      * Note that unlike [[\yii\helpers\Url::toRoute()]], this method always treats the given route
460 460
      * as an absolute route.
461 461
      *
462
-     * @param string|array $params use a string to represent a route (e.g. `site/index`),
462
+     * @param string[] $params use a string to represent a route (e.g. `site/index`),
463 463
      * or an array to represent a route with query parameters (e.g. `['site/index', 'param1' => 'value1']`).
464 464
      * @param string|null $scheme the scheme to use for the URL (either `http`, `https` or empty string
465 465
      * for protocol-relative URL).
Please login to merge, or discard this patch.