| Current Path : /home/bullgymbny/app2/vendor/spatie/flare-client-php/src/FlareMiddleware/ |
| Current File : /home/bullgymbny/app2/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);
}
}