diff --git a/docs/4.x/http.md b/docs/4.x/http.md index 6ad13ce..76650f0 100644 --- a/docs/4.x/http.md +++ b/docs/4.x/http.md @@ -42,7 +42,7 @@ class SomeMiddleware implements MiddlewareInterface public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { // ... - return $handler->handler($request); + return $handler->handle($request); } } ~~~ diff --git a/docs/5.x/http.md b/docs/5.x/http.md index 6ad13ce..76650f0 100644 --- a/docs/5.x/http.md +++ b/docs/5.x/http.md @@ -42,7 +42,7 @@ class SomeMiddleware implements MiddlewareInterface public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { // ... - return $handler->handler($request); + return $handler->handle($request); } } ~~~ diff --git a/docs/unstable/http.md b/docs/unstable/http.md index 6ad13ce..76650f0 100644 --- a/docs/unstable/http.md +++ b/docs/unstable/http.md @@ -42,7 +42,7 @@ class SomeMiddleware implements MiddlewareInterface public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { // ... - return $handler->handler($request); + return $handler->handle($request); } } ~~~