Skip to content

Commit e63d05c

Browse files
authored
Merge pull request #45 from schnittstabil/fix-delegate-interface-types
Change DelegateInterface request type hint
2 parents da28159 + 945b132 commit e63d05c

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)