From 3d34ae4b84cd74d5afb31c525f740c98a33e6298 Mon Sep 17 00:00:00 2001 From: "origami11@yandex.ru" Date: Tue, 9 Dec 2025 19:46:55 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=A2=D0=B8=D0=BF=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Connection/HttpResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connection/HttpResponse.php b/src/Connection/HttpResponse.php index a16120b..fad35ab 100644 --- a/src/Connection/HttpResponse.php +++ b/src/Connection/HttpResponse.php @@ -52,7 +52,7 @@ class HttpResponse while ($index > 0) { $chunk [] = substr($this->response, $this->offset, $index); $this->offset += $index; - $index = hexdec($this->getLine()); + $index = (int)hexdec($this->getLine()); } $this->data = implode("", $chunk);