public function Report::addIssue in Drupal 7 to 8/9 Module Upgrader 8
Adds an issue to this module.
Parameters
IssueInterface $issue: The issue to add.
Return value
$this
Overrides ReportInterface::addIssue
File
- src/
Report.php, line 18
Class
- Report
- Basic implementation of an analyzer report.
Namespace
Drupal\drupalmoduleupgraderCode
public function addIssue(IssueInterface $issue) {
$id = spl_object_hash($issue);
$this->issues[$id] = $issue;
return $this;
}