src/Eloquent/Typhoon/CodeAnalysis/AnalysisResult.php
public function classIssuesBySeverityAndClass(
        Issue\IssueSeverity $severity,
        ClassName $className
    ) {
        $this->typeCheck->classIssuesBySeverityAndClass(func_get_args());

        $issues = array();
        foreach ($this->issuesBySeverity($severity) as $issue) {
            if (
                $issue instanceof Issue\ClassIssueInterface &&
                $issue->classDefinition()->className()->isEqualTo($className)
            ) {
                $issues[] = $issue;
            }
        }

        return $issues;
    }
public function classIssuesBySeverityAndClass(
        Issue\IssueSeverity $severity,
        ClassName $className
    ) {
        $this->typeCheck->classIssuesBySeverityAndClass(func_get_args());

        $issues = array();
        foreach ($this->issuesBySeverity($severity) as $issue) {
            if (
                $issue instanceof Issue\ClassIssueInterface &&
                $issue->classDefinition()->className()->isEqualTo($className)
            ) {
                $issues[] = $issue;
            }
        }

        return $issues;
    }
@param Issue\IssueSeverity $severity
@param ClassName           $className

@return array<Issue\IssueInterface>