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

        $issues = array();
        foreach ($this->issues() as $issue) {
            if ($issue->severity() === $severity) {
                $issues[] = $issue;
            }
        }

        return $issues;
    }
public function issuesBySeverity(Issue\IssueSeverity $severity)
    {
        $this->typeCheck->issuesBySeverity(func_get_args());

        $issues = array();
        foreach ($this->issues() as $issue) {
            if ($issue->severity() === $severity) {
                $issues[] = $issue;
            }
        }

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

@return array<Issue\IssueInterface>