Skip to content

Commit 0cb870a

Browse files
committed
Fix psalm error
1 parent 9aed188 commit 0cb870a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ipc/SocketIpcHub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function accept(string $key, ?Cancellation $cancellation = null): Resourc
154154
}
155155

156156
$client = $this->clientsByKey->get($key);
157-
if ($client) {
157+
if ($client !== null) {
158158
$this->clientsByKey->delete($key);
159159

160160
return $client;

0 commit comments

Comments
 (0)