Always great when using conflicting tools

This commit is contained in:
James Cole
2023-12-10 06:57:41 +01:00
parent 46e130fdfe
commit ce023f2580
28 changed files with 115 additions and 114 deletions

View File

@@ -232,11 +232,11 @@ class Handler extends ExceptionHandler
private function shouldntReportLocal(Throwable $e): bool
{
return null !== Arr::first(
$this->dontReport,
static function ($type) use ($e) {
$this->dontReport,
static function ($type) use ($e) {
return $e instanceof $type;
}
);
);
}
/**