Fixed phpstan error in TrustHosts middleware

This commit is contained in:
Constantin Graf
2026-08-06 17:06:34 +02:00
parent f6d886b218
commit 29a2e994cd

View File

@@ -6,7 +6,7 @@ namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as BaseTrustHosts; use Illuminate\Http\Middleware\TrustHosts as BaseTrustHosts;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response; use Illuminate\Http\Response;
/** /**
* Rejects requests whose Host is not trusted, preventing Host-header poisoning of * Rejects requests whose Host is not trusted, preventing Host-header poisoning of