From 98ef297dc78b35748a68b8fa2af176826439a8aa Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:49:46 +0200 Subject: [PATCH] Remove useless overrides --- app/Http/Middleware/TrustProxies.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 4f93a480..c03a8e6d 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -3,28 +3,9 @@ namespace App\Http\Middleware; use Illuminate\Http\Middleware\TrustProxies as Middleware; -use Illuminate\Http\Request; class TrustProxies extends Middleware { - /** - * The trusted proxies for this application. - * - * @var array|string|null - */ - protected $proxies; - - /** - * The headers that should be used to detect proxies. - * - * @var int - */ - protected $headers = Request::HEADER_X_FORWARDED_FOR | - Request::HEADER_X_FORWARDED_HOST | - Request::HEADER_X_FORWARDED_PORT | - Request::HEADER_X_FORWARDED_PROTO | - Request::HEADER_X_FORWARDED_AWS_ELB; - /** * TrustProxies constructor. */