From 0cb870ad5988b4321e4f01ee69fcc7a09db72f9a Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Tue, 19 Mar 2024 17:05:04 +0100 Subject: [PATCH] Fix psalm error --- src/Ipc/SocketIpcHub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ipc/SocketIpcHub.php b/src/Ipc/SocketIpcHub.php index 9d5e2be..bda8020 100644 --- a/src/Ipc/SocketIpcHub.php +++ b/src/Ipc/SocketIpcHub.php @@ -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;