code: protected function generateErrorBlock(AnalysisResult $result)
      {
          $this->typeCheck->generateErrorBlock(func_get_args());
  
          return $this->generateBlock(
              'Problems detected',
              'error',
              $result,
              IssueSeverity::ERROR()
          );
      }
docs: @param AnalysisResult $result
  
  @return string