Merge pull request #1793 from abublihi/master

Fix An Exception
This commit is contained in:
Dan Brown 2019-12-27 16:52:07 +00:00 committed by GitHub
commit 6f9cad2106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ class TrustProxies extends Middleware
* @param Closure $next * @param Closure $next
* @return mixed * @return mixed
*/ */
public function handle($request, Closure $next) public function handle(Request $request, Closure $next)
{ {
$setProxies = config('app.proxies'); $setProxies = config('app.proxies');
if ($setProxies !== '**' && $setProxies !== '*' && $setProxies !== '') { if ($setProxies !== '**' && $setProxies !== '*' && $setProxies !== '') {