Skip to content

Commit

Permalink
Fix phpstan warning
Browse files Browse the repository at this point in the history
  • Loading branch information
solcloud authored Jun 15, 2024
1 parent ec4e673 commit a2a9132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/Net/ClueSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a2a9132

Please sign in to comment.