code: protected function generateWarningBlock(AnalysisResult $result)
      {
          $this->typeCheck->generateWarningBlock(func_get_args());
  
          return $this->generateBlock(
              'Potential problems detected',
              'comment',
              $result,
              IssueSeverity::WARNING()
          );
      }
docs: @param AnalysisResult $result
  
  @return string