Skip to content

Commit cdcec48

Browse files
committed
add @throws to getPayload
1 parent 718a97e commit cdcec48

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)