From b52bcdad4f65f67b3cc67957928796db47b78331 Mon Sep 17 00:00:00 2001 From: emredipi Date: Mon, 1 Apr 2024 01:24:59 +0300 Subject: [PATCH] middleware parameter types --- src/CloudflarePagesMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CloudflarePagesMiddleware.php b/src/CloudflarePagesMiddleware.php index 8d8bc39..19ff02f 100644 --- a/src/CloudflarePagesMiddleware.php +++ b/src/CloudflarePagesMiddleware.php @@ -10,7 +10,7 @@ class CloudflarePagesMiddleware { - public function handle(Request $request, Closure $next, $ttl, $tags): Response + public function handle(Request $request, Closure $next, string $ttl, string $tags): Response { /** @var Response $response */ $response = $next($request);