Skip to content

Commit

Permalink
Adjustment for logger
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Dec 28, 2023
1 parent 24f3f2c commit 79acf09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ protected function handleClientConnection(): void
{
$this->client = new WsClient(
uri: "{$this->protocol}://{$this->uri}:{$this->port}/{$this->query}",
options: [
options: array_merge([
'timeout' => $this->timeout,
], $this->logger ? [
'logger' => $this->logger,
],
] : []),
);

$this->handleChannelConnection();
Expand Down

0 comments on commit 79acf09

Please sign in to comment.