adminInfo ?? []), (string) $request->controller(), (string) $request->action(), (array) $request->header(), null, $this->configuration )) { return JsonService::fail(DoctorWebConsultationPolicy::message($this->configuration), [ 'reason' => 'doctor_web_consultation_expired', 'cutoff_at' => DoctorWebConsultationPolicy::cutoffAt($this->configuration), ]); } return $next($request); } }