protected function generateWarningBlock(AnalysisResult $result)
    {
        $this->typeCheck->generateWarningBlock(func_get_args());

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

        return $this->generateBlock(
            'Potential problems detected',
            'comment',
            $result,
            IssueSeverity::WARNING()
        );
    }
@param AnalysisResult $result

@return string