We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9b071 commit 6001507Copy full SHA for 6001507
src/connection/Socket.php
@@ -102,9 +102,8 @@ public function read(int $length = 2048): string
102
if ($readed === false) {
103
$code = socket_last_error($this->socket);
104
throw new ConnectException(socket_strerror($code), $code);
105
- } else {
106
- $output .= $readed;
107
}
+ $output .= $readed;
108
} while (mb_strlen($output, '8bit') < $length);
109
110
if (Bolt::$debug)
0 commit comments