mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fix #20459: Fix return type in RequestParserInterface::parse
This commit is contained in:

committed by
Alexander Makarov

parent
44f19bf3a2
commit
2cc09dd57d
@ -34,6 +34,7 @@ Yii Framework 2 Change Log
|
||||
- Enh #20433: Added PHPStan/Psalm annotations for some controllers methods: `beforeAction`, `afterAction` and `bindActionParams` (max-s-lab)
|
||||
- Enh #20442: Add PHPStan/Psalm annotations for `yii\base\Controller` methods: `runAction`, `run`, `render`, `renderPartial` and `renderFile` (max-s-lab)
|
||||
- Bug #20453: Fix PHPStan/Psalm types in `yii\web\View` (max-s-lab)
|
||||
- Bug #20459: Fix return type in `RequestParserInterface::parse` (max-s-lab)
|
||||
|
||||
|
||||
2.0.53 June 27, 2025
|
||||
|
@ -19,7 +19,7 @@ interface RequestParserInterface
|
||||
* Parses a HTTP request body.
|
||||
* @param string $rawBody the raw HTTP request body.
|
||||
* @param string $contentType the content type specified for the request body.
|
||||
* @return array parameters parsed from the request body
|
||||
* @return array|object parameters parsed from the request body
|
||||
*/
|
||||
public function parse($rawBody, $contentType);
|
||||
}
|
||||
|
Reference in New Issue
Block a user