Fix "Declaration of Middleware\TrustProxies::handle should be compatible with Fideloper\Proxy\TrustProxies::handle"

This commit is contained in:
abublihi 2019-11-20 14:00:20 +03:00
parent 4e09656c78
commit 23a716a3ac

View File

@ -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 !== '') {