Skip to content

Commit

Permalink
Fix psalm error
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Mar 19, 2024
1 parent 9aed188 commit 0cb870a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ipc/SocketIpcHub.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function accept(string $key, ?Cancellation $cancellation = null): Resourc
}

$client = $this->clientsByKey->get($key);
if ($client) {
if ($client !== null) {
$this->clientsByKey->delete($key);

return $client;
Expand Down

0 comments on commit 0cb870a

Please sign in to comment.