Skip to content

Commit 5d45c06

Browse files
author
Trevor North
committed
ServerRequest getParams return is not optional
1 parent 64e8642 commit 5d45c06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ServerRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ public function getParam($key, $default = null)
903903
*
904904
* @return mixed[]
905905
*/
906-
public function getParams(): ?array
906+
public function getParams(): array
907907
{
908908
$params = $this->getQueryParams();
909909
$postParams = $this->getParsedBody();

0 commit comments

Comments
 (0)