mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Fixed phpstan error in TrustHosts middleware
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user