Current Path : /home/lentoinv/lentoria.com/vendor/spatie/flare-client-php/src/FlareMiddleware/ |
Current File : /home/lentoinv/lentoria.com/vendor/spatie/flare-client-php/src/FlareMiddleware/RemoveRequestIp.php |
<?php namespace Spatie\FlareClient\FlareMiddleware; use Spatie\FlareClient\Report; class RemoveRequestIp implements FlareMiddleware { public function handle(Report $report, $next) { $context = $report->allContext(); $context['request']['ip'] = null; $report->userProvidedContext($context); return $next($report); } }