From a2a91324eaabedaa02d7e36132b446d958679824 Mon Sep 17 00:00:00 2001 From: solcloud <74121353+solcloud@users.noreply.github.com> Date: Sat, 15 Jun 2024 14:41:40 +0200 Subject: [PATCH] Fix phpstan warning --- server/src/Net/ClueSocket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/Net/ClueSocket.php b/server/src/Net/ClueSocket.php index 0d0d379..1a036a6 100644 --- a/server/src/Net/ClueSocket.php +++ b/server/src/Net/ClueSocket.php @@ -20,7 +20,7 @@ public function __construct(string $bindAddress) try { $this->socket = (new Factory())->createServer($bindAddress); $this->resource = $this->socket->getResource(); // @phpstan-ignore-line - socket_set_nonblock($this->resource); + socket_set_nonblock($this->resource); // @phpstan-ignore-line } catch (Exception $ex) { throw new NetException($ex->getMessage(), $ex->getCode(), $ex); }