Skip to content

Commit

Permalink
Suppress psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Nov 7, 2022
1 parent adb41a9 commit 6a19255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function getIterator(): \Traversable
public function unsubscribe(): void
{
if ($this->unsubscribe) {
/** @psalm-suppress InvalidArgument */
EventLoop::queue($this->unsubscribe);
$this->unsubscribe = null;
}
Expand Down

0 comments on commit 6a19255

Please sign in to comment.