Skip to content

Commit 30a0712

Browse files
committed
update
1 parent 24314e1 commit 30a0712

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

api.include.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -3306,7 +3306,7 @@ public function fromGlobals(): ServerRequestInterface
33063306
/**
33073307
* {@inheritdoc}
33083308
*/
3309-
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], /*?array*/ $post = null, array $files = [], $body = null): ServerRequestInterface
3309+
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], ?array $post = null, array $files = [], $body = null): ServerRequestInterface
33103310
{
33113311
$method = $this->getMethodFromEnv($server);
33123312
$uri = $this->getUriFromEnvWithHTTP($server);
@@ -3575,7 +3575,8 @@ public function fromArrays(
35753575
array $server,
35763576
array $headers = [],
35773577
array $cookie = [],
3578-
array $get = [], /*?array*/ $post = null,
3578+
array $get = [],
3579+
?array $post = null,
35793580
array $files = [],
35803581
$body = null
35813582
): ServerRequestInterface;

api.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -3306,7 +3306,7 @@ public function fromGlobals(): ServerRequestInterface
33063306
/**
33073307
* {@inheritdoc}
33083308
*/
3309-
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], /*?array*/ $post = null, array $files = [], $body = null): ServerRequestInterface
3309+
public function fromArrays(array $server, array $headers = [], array $cookie = [], array $get = [], ?array $post = null, array $files = [], $body = null): ServerRequestInterface
33103310
{
33113311
$method = $this->getMethodFromEnv($server);
33123312
$uri = $this->getUriFromEnvWithHTTP($server);
@@ -3575,7 +3575,8 @@ public function fromArrays(
35753575
array $server,
35763576
array $headers = [],
35773577
array $cookie = [],
3578-
array $get = [], /*?array*/ $post = null,
3578+
array $get = [],
3579+
?array $post = null,
35793580
array $files = [],
35803581
$body = null
35813582
): ServerRequestInterface;

composer.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)