From 09935141c9dd40fdf248ae7a65dd33217dd8181d Mon Sep 17 00:00:00 2001 From: rfdevrock <111121850+rfdevrock@users.noreply.github.com> Date: Thu, 20 Oct 2022 14:59:58 +0530 Subject: [PATCH] Update Chargify.php We made changes so it works with guzzlehttp-7, we modified the stream_for method to Utils::streamFor --- src/Crucial/Service/Chargify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Crucial/Service/Chargify.php b/src/Crucial/Service/Chargify.php index 8b96051..ce75403 100644 --- a/src/Crucial/Service/Chargify.php +++ b/src/Crucial/Service/Chargify.php @@ -189,7 +189,7 @@ public function request($path, $method, $rawData = null, $params = []) } if (!empty($rawData)) { - $options['body'] = Psr7\stream_for($rawData); + $options['body'] = Psr7\Utils::streamFor($rawData); } try {