Skip to content

Commit

Permalink
fix phpdoc. The previous message was incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Dec 1, 2021
1 parent a7e9eea commit 826b26b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/IssueBuffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ public static function addUnusedSuppression(string $file_path, int $offset, stri
}

/**
* This will return true if an issue is ready to be added for emission. Reasons for not returning true include:
* This will return false if an issue is ready to be added for emission. Reasons for not returning false include:
* - The issue is suppressed in config
* - We're in a recording state
* - The issue is included in the list of issues to be suppressed in param
* @param string[] $suppressed_issues
* @param string[] $suppressed_issues
*/
public static function isSuppressed(CodeIssue $e, array $suppressed_issues = []) : bool
{
Expand Down

0 comments on commit 826b26b

Please sign in to comment.