mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Fix #20513: Fix code examples in PHPDoc
This commit is contained in:
@ -18,7 +18,7 @@ use yii\base\UserException;
|
||||
*
|
||||
* Throwing an HttpException like in the following example will result in the 404 page to be displayed.
|
||||
*
|
||||
* ```php
|
||||
* ```
|
||||
* if ($item === null) { // item does not exist
|
||||
* throw new \yii\web\HttpException(404, 'The requested Item could not be found.');
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user