We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2559b6 commit c3c1562Copy full SHA for c3c1562
1 file changed
src/HttpMessage/Utility/ServerRequest.php
@@ -35,7 +35,7 @@ class ServerRequest
35
*
36
* @SuppressWarnings(PHPMD.Superglobals)
37
*/
38
- public static function fromGlobals($parseStrOpts = array()): ServerRequestExtended
+ public static function fromGlobals(array $parseStrOpts = array()): ServerRequestExtended
39
{
40
$method = isset($_SERVER['REQUEST_METHOD'])
41
? $_SERVER['REQUEST_METHOD']
0 commit comments