Skip to content

Commit

Permalink
Update src/Psalm/Plugin/EventHandler/BeforeAddIssueInterface.php
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
  • Loading branch information
ohader and weirdan committed Jan 31, 2022
1 parent 995ecd0 commit ffafccc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Psalm/Plugin/EventHandler/BeforeAddIssueInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ interface BeforeAddIssueInterface
/**
* Called before adding a code issue.
*
* Note that event handlers are called in the order they were registered, and thus
* the handler registered earlier may prevent subsequent handlers from running by
* returning a boolean value.
*
* @param BeforeAddIssueEvent $event
* @return null|bool $event How and whether to continue:
* + `null` continues with next event handler
Expand Down

0 comments on commit ffafccc

Please sign in to comment.