From 82671dc3589094a2e68c8ca92ff33c078c7d033f Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: type hint docblock middleware $next param --- src/Contracts/Middleware.php | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3