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:
parent
df767e80a4
commit
dbb1bf2e73
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user