Skip to content

Commit

Permalink
fix uninitialized payload property
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored Feb 22, 2024
1 parent 5dab15b commit 378c533
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ public function process(null|int|float $timeout = 0, bool $reply = true, bool $c
$payload .= $payloadLine;
}

$message->parse($payload);
} elseif ($message instanceof Msg) {
$message->parse($payload);
}

Expand Down

0 comments on commit 378c533

Please sign in to comment.