From 8a5e2f5aa1c0460c4c9c0216561c5d1079bced82 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 1 Mar 2021 02:52:08 +0300 Subject: make Client::send() public --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 2d4b6e1..ec3af88 100644 --- a/src/Client.php +++ b/src/Client.php @@ -110,7 +110,7 @@ class Client { /** * @param Message $message */ - protected function send(Message $message) { + public function send(Message $message) { $serialized = $message->serialize(); fwrite($this->sock, $serialized . self::EOT); } -- cgit v1.2.3