Skip to content

Commit f6e28ba

Browse files
committed
Fix typo in docs
1 parent bd9aba6 commit f6e28ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/4.x/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class SomeMiddleware implements MiddlewareInterface
4242
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
4343
{
4444
// ...
45-
return $handler->handler($request);
45+
return $handler->handle($request);
4646
}
4747
}
4848
~~~

docs/5.x/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class SomeMiddleware implements MiddlewareInterface
4242
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
4343
{
4444
// ...
45-
return $handler->handler($request);
45+
return $handler->handle($request);
4646
}
4747
}
4848
~~~

docs/unstable/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class SomeMiddleware implements MiddlewareInterface
4242
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
4343
{
4444
// ...
45-
return $handler->handler($request);
45+
return $handler->handle($request);
4646
}
4747
}
4848
~~~

0 commit comments

Comments
 (0)