Skip to content

Commit a36b968

Browse files
minor #50492 [HttpFoundation] add @throws to getPayload (wiseguy1394)
This PR was merged into the 6.3 branch. Discussion ---------- [HttpFoundation] add `@throws` to getPayload | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #50490 | License | MIT Fixes #50490 Commits ------- 9ae8b6cd7a add `@throws` to getPayload
2 parents 718a97e + cdcec48 commit a36b968

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Request.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,6 +1508,8 @@ public function getContent(bool $asResource = false)
15081508

15091509
/**
15101510
* Gets the decoded form or json request body.
1511+
*
1512+
* @throws JsonException When the body cannot be decoded to an array
15111513
*/
15121514
public function getPayload(): InputBag
15131515
{

0 commit comments

Comments
 (0)