From 0e92023bec06a5a0735a47f515ef5634ccec87ce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 09:03:35 +0000 Subject: [PATCH 1/2] fix(deps): update dependency guzzlehttp/guzzle to v8 | datasource | package | from | to | | ---------- | ----------------- | ------ | ----- | | packagist | guzzlehttp/guzzle | 7.15.2 | 8.0.1 | --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3abddac..756b44d 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ ], "require": { "php": "^8.4", - "guzzlehttp/guzzle": "^7.15.2", + "guzzlehttp/guzzle": "^8.0.1", "guzzlehttp/uri-template": "^1.0.10" }, "require-dev": { From 25d54afc97c8065c7305402e751e0870bcc3858c Mon Sep 17 00:00:00 2001 From: Adrien ERAUD Date: Mon, 3 Aug 2026 12:15:24 +0100 Subject: [PATCH 2/2] Fix --- src/Http/JsonBody.php | 2 +- src/Http/UrlEncodedBody.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/JsonBody.php b/src/Http/JsonBody.php index b4f84d2..6731ceb 100644 --- a/src/Http/JsonBody.php +++ b/src/Http/JsonBody.php @@ -45,7 +45,7 @@ public function getContentType() */ public function getContentLength() { - return strlen($this->getContent()); + return (string) strlen($this->getContent()); } /** diff --git a/src/Http/UrlEncodedBody.php b/src/Http/UrlEncodedBody.php index b7e26f7..86afe74 100644 --- a/src/Http/UrlEncodedBody.php +++ b/src/Http/UrlEncodedBody.php @@ -45,7 +45,7 @@ public function getContentType() */ public function getContentLength() { - return strlen($this->getContent()); + return (string) strlen($this->getContent()); } /**