Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Jul 5, 2023
1 parent 24314e1 commit 30a0712
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions api.include.php
Expand Up @@ -3306,7 +3306,7 @@ public function fromGlobals(): ServerRequestInterface
/**
* {@inheritdoc}
*/
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], /*?array*/ $post = null, array $files = [], $body = null): ServerRequestInterface
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], ?array $post = null, array $files = [], $body = null): ServerRequestInterface
{
$method = $this->getMethodFromEnv($server);
$uri = $this->getUriFromEnvWithHTTP($server);
Expand Down Expand Up @@ -3575,7 +3575,8 @@ public function fromArrays(
array $server,
array $headers = [],
array $cookie = [],
array $get = [], /*?array*/ $post = null,
array $get = [],
?array $post = null,
array $files = [],
$body = null
): ServerRequestInterface;
Expand Down
5 changes: 3 additions & 2 deletions api.php
Expand Up @@ -3306,7 +3306,7 @@ public function fromGlobals(): ServerRequestInterface
/**
* {@inheritdoc}
*/
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], /*?array*/ $post = null, array $files = [], $body = null): ServerRequestInterface
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], ?array $post = null, array $files = [], $body = null): ServerRequestInterface
{
$method = $this->getMethodFromEnv($server);
$uri = $this->getUriFromEnvWithHTTP($server);
Expand Down Expand Up @@ -3575,7 +3575,8 @@ public function fromArrays(
array $server,
array $headers = [],
array $cookie = [],
array $get = [], /*?array*/ $post = null,
array $get = [],
?array $post = null,
array $files = [],
$body = null
): ServerRequestInterface;
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30a0712

Please sign in to comment.