Fixed return type in TrustHosts

This commit is contained in:
Constantin Graf
2026-08-06 17:49:52 +02:00
parent 29a2e994cd
commit de13c07855

View File

@@ -41,7 +41,7 @@ class TrustHosts extends BaseTrustHosts
/** /**
* @param \Closure(Request): Response $next * @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, // Exempt health checks (probed by IP). Also reset the trusted hosts,
// since Octane leaks the static state across requests. // since Octane leaks the static state across requests.