Skip to content

Commit 945b132

Browse files
committed
Change DelegateInterface type-hint to ServerRequestInterface
1 parent da28159 commit 945b132

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DelegateInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
namespace Interop\Http\Middleware;
44

5-
use Psr\Http\Message\RequestInterface;
65
use Psr\Http\Message\ResponseInterface;
6+
use Psr\Http\Message\ServerRequestInterface;
77

88
interface DelegateInterface
99
{
1010
/**
1111
* Dispatch the next available middleware and return the response.
1212
*
13-
* @param RequestInterface $request
13+
* @param ServerRequestInterface $request
1414
*
1515
* @return ResponseInterface
1616
*/
17-
public function process(RequestInterface $request);
17+
public function process(ServerRequestInterface $request);
1818
}

0 commit comments

Comments
 (0)