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

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

        return $this->generateBlock(
            'Problems detected',
            'error',
            $result,
            IssueSeverity::ERROR()
        );
    }
@param AnalysisResult $result

@return string