src/HttpRequestProvider.php
public function get() : ServerRequestInterface
    {
        $psr17Factory = new Psr17Factory;
        $serverRequest = (new ServerRequestCreator(
            $psr17Factory, // ServerRequestFactory
            $psr17Factory, // UriFactory
            $psr17Factory, // UploadedFileFactory
            $psr17Factory  // StreamFactory
        ))->fromGlobals();

        return $serverRequest;
    }
public function get() : ServerRequestInterface
    {
        $psr17Factory = new Psr17Factory;
        $serverRequest = (new ServerRequestCreator(
            $psr17Factory, // ServerRequestFactory
            $psr17Factory, // UriFactory
            $psr17Factory, // UploadedFileFactory
            $psr17Factory  // StreamFactory
        ))->fromGlobals();

        return $serverRequest;
    }
{@inheritdoc}