Skip to content

Commit c3c1562

Browse files
committed
Utility/ServerRequest::fromGlobal - add param typehint
1 parent e2559b6 commit c3c1562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HttpMessage/Utility/ServerRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ServerRequest
3535
*
3636
* @SuppressWarnings(PHPMD.Superglobals)
3737
*/
38-
public static function fromGlobals($parseStrOpts = array()): ServerRequestExtended
38+
public static function fromGlobals(array $parseStrOpts = array()): ServerRequestExtended
3939
{
4040
$method = isset($_SERVER['REQUEST_METHOD'])
4141
? $_SERVER['REQUEST_METHOD']

0 commit comments

Comments
 (0)