From de13c07855bbaacb1cced918003a0a15b5a48aba Mon Sep 17 00:00:00 2001 From: Constantin Graf Date: Thu, 6 Aug 2026 17:49:52 +0200 Subject: [PATCH] Fixed return type in TrustHosts --- app/Http/Middleware/TrustHosts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php index 95680ad5..b261f660 100644 --- a/app/Http/Middleware/TrustHosts.php +++ b/app/Http/Middleware/TrustHosts.php @@ -41,7 +41,7 @@ class TrustHosts extends BaseTrustHosts /** * @param \Closure(Request): Response $next */ - public function handle(Request $request, $next): Response + public function handle(Request $request, $next) { // Exempt health checks (probed by IP). Also reset the trusted hosts, // since Octane leaks the static state across requests.