From d9c4856b24ec853e98d3a710bc254b21d698af8e Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Sun, 17 Feb 2019 13:57:29 +0300 Subject: [PATCH] in Client object excluded step with reading empty line --- src/Client.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Client.php b/src/Client.php index e2838fc..a3c5b0e 100644 --- a/src/Client.php +++ b/src/Client.php @@ -241,9 +241,6 @@ class Client implements Interfaces\ClientInterface if ($length > 0) { // Save output line to response array $response[] = stream_get_contents($this->_socket, $length); - } else { - // Read next line - stream_get_contents($this->_socket, $length); } // If we get a !done line in response, change state of $isDone variable