Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit da877f1

Browse files
committed
Merge branch 'hotfix/167'
Close #167
2 parents e5c891d + 2c557f8 commit da877f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ServerRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use Psr\Http\Message\ServerRequestInterface;
1414
use Psr\Http\Message\StreamInterface;
1515
use Psr\Http\Message\UploadedFileInterface;
16+
use Psr\Http\Message\UriInterface;
1617

1718
/**
1819
* Server-side HTTP request
@@ -65,7 +66,7 @@ class ServerRequest implements ServerRequestInterface
6566
/**
6667
* @param array $serverParams Server parameters, typically from $_SERVER
6768
* @param array $uploadedFiles Upload file information, a tree of UploadedFiles
68-
* @param null|string $uri URI for the request, if any.
69+
* @param null|string|UriInterface $uri URI for the request, if any.
6970
* @param null|string $method HTTP method for the request, if any.
7071
* @param string|resource|StreamInterface $body Message body, if any.
7172
* @param array $headers Headers for the message, if any.

0 commit comments

Comments
 (0)