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:
@ -18,7 +18,7 @@ use yii\helpers\StringHelper;
|
||||
*
|
||||
* In order to enable this parser you should configure [[Request::parsers]] in the following way:
|
||||
*
|
||||
* ```php
|
||||
* ```
|
||||
* return [
|
||||
* 'components' => [
|
||||
* 'request' => [
|
||||
@ -41,7 +41,7 @@ use yii\helpers\StringHelper;
|
||||
*
|
||||
* Usage example:
|
||||
*
|
||||
* ```php
|
||||
* ```
|
||||
* use yii\web\UploadedFile;
|
||||
*
|
||||
* $restRequestData = Yii::$app->request->getBodyParams();
|
||||
|
||||
Reference in New Issue
Block a user