mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-27 20:06:19 +08:00
Fix #20513: Fix code examples in PHPDoc
This commit is contained in:
@ -57,7 +57,7 @@ class UrlNormalizer extends BaseObject
|
||||
* - `404` - [[NotFoundHttpException]] will be thrown
|
||||
* - `callable` - custom user callback, for example:
|
||||
*
|
||||
* ```php
|
||||
* ```
|
||||
* function ($route, $normalizer) {
|
||||
* // use custom action for redirections
|
||||
* $route[1]['oldRoute'] = $route[0];
|
||||
|
||||
Reference in New Issue
Block a user