1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Add addSuppressedIssue API method back

This commit is contained in:
Matt Brown 2017-07-26 16:09:09 -04:00
parent df767e80a4
commit dbb1bf2e73

View File

@ -1202,6 +1202,16 @@ abstract class FunctionLikeChecker extends SourceChecker implements StatementsSo
return $this->suppressed_issues;
}
/**
* Adds a suppressed issue, useful when creating a method checker from scratch
*
* @return void
*/
public function addSuppressedIssue(string $issue_name)
{
$this->suppressed_issues[] = $issue_name;
}
/**
* @return void
*/