From ea7b64e68872e8c77b321f7c45be29f956c1fd39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Tue, 3 Apr 2018 14:49:40 +0200 Subject: [PATCH] Use correct interface in documentation --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b8278b5c..82dd8135 100644 --- a/README.md +++ b/README.md @@ -129,9 +129,8 @@ use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; use Zend\Diactoros\Response; -use Zend\Diactoros\ServerRequest; -final class MyHandler implements ServerRequestInterface +final class MyHandler implements RequestHandlerInterface { public function handle(ServerRequestInterface $request): ResponseInterface {