Skip to content

Commit aff2f80

Browse files
authored
Merge pull request #4 from shadowhand/fix/phpdocs
Update docblocks with official documentation
2 parents ede6c50 + a557d72 commit aff2f80

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/RequestHandlerInterface.php

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66
use Psr\Http\Message\ServerRequestInterface;
77

88
/**
9-
* An HTTP request handler process a HTTP request and produces an HTTP response.
10-
* This interface defines the methods required to use the request handler.
9+
* Handles a server request and produces a response.
10+
*
11+
* An HTTP request handler process an HTTP request in order to produce an
12+
* HTTP response.
1113
*/
1214
interface RequestHandlerInterface
1315
{
1416
/**
15-
* Handle the request and return a response.
17+
* Handles a request and produces a response.
18+
*
19+
* May call other collaborating code to generate the response.
1620
*/
1721
public function handle(ServerRequestInterface $request): ResponseInterface;
1822
}

0 commit comments

Comments
 (0)