From 73988855c4a6e3f1e8f24dc40be1a11e7e24fd22 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Mon, 13 May 2019 21:00:17 +0300 Subject: [PATCH] Fixes ACCOUNTS-5G9. Manually cast Guzzle response to string --- common/components/SkinSystem/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/components/SkinSystem/Api.php b/common/components/SkinSystem/Api.php index 5df933e..345a155 100644 --- a/common/components/SkinSystem/Api.php +++ b/common/components/SkinSystem/Api.php @@ -26,7 +26,7 @@ class Api { return null; } - return json_decode($response->getBody(), true); + return json_decode($response->getBody()->getContents(), true); } public function setClient(ClientInterface $client): void {