8889841chome/clixcotz/mars.clix.co.tz/vendor/facade/ignition/src/Middleware/AddSolutions.php000066600000001453150534276550024617 0ustar00solutionProviderRepository = $solutionProviderRepository; } public function handle(Report $report, $next) { if ($throwable = $report->getThrowable()) { $solutions = $this->solutionProviderRepository->getSolutionsForThrowable($throwable); foreach ($solutions as $solution) { $report->addSolution($solution); } } return $next($report); } }