private function shouldntReport(Throwable $exception): bool
    {
        foreach ($this->dontReport as $type) {
            if ($exception instanceof $type) {
                return true;
            }
        }

        return false;
    }
private function shouldntReport(Throwable $exception): bool
    {
        foreach ($this->dontReport as $type) {
            if ($exception instanceof $type) {
                return true;
            }
        }

        return false;
    }
private function shouldntReport ( Throwable $ exception ) : bool { foreach ( $ this -> dontReport as $ type ) { if ( $ exception instanceof $ type ) { return true ; } } return false ; }
Determine if the exception is in the "do not report" list.

@param \Throwable $exception

@return bool
Determine if the exception is in the do not report list .