summaryrefslogtreecommitdiff
path: root/src/Contracts/Middleware.php
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commit82671dc3589094a2e68c8ca92ff33c078c7d033f (patch)
tree69a59bb2ca592ded3e9926dc467cdae4b1ea910e /src/Contracts/Middleware.php
parent88b8f6ebb366541c2ac7929a5604cb5bee3986fd (diff)
type hint docblock middleware $next param
Diffstat (limited to 'src/Contracts/Middleware.php')
-rw-r--r--src/Contracts/Middleware.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Contracts/Middleware.php b/src/Contracts/Middleware.php
index 96037c8..69a7896 100644
--- a/src/Contracts/Middleware.php
+++ b/src/Contracts/Middleware.php
@@ -9,6 +9,7 @@ use Psr\Http\Message\ServerRequestInterface;
interface Middleware
{
+ /** @param callable(ServerRequestInterface): ResponseInterface $next */
public function handle(
ServerRequestInterface $request,
callable $next,