From: abublihi Date: Wed, 20 Nov 2019 11:00:20 +0000 (+0300) Subject: Fix "Declaration of Middleware\TrustProxies::handle should be compatible with Fidelop... X-Git-Tag: v0.28.0~1^2~17^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/1793/head?ds=sidebyside Fix "Declaration of Middleware\TrustProxies::handle should be compatible with Fideloper\Proxy\TrustProxies::handle" --- diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 878c2f164..7b01d0aab 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -28,7 +28,7 @@ class TrustProxies extends Middleware * @param Closure $next * @return mixed */ - public function handle($request, Closure $next) + public function handle(Request $request, Closure $next) { $setProxies = config('app.proxies'); if ($setProxies !== '**' && $setProxies !== '*' && $setProxies !== '') {