From b4a80dff55891d3a6624f1a5063ed3fc9075c812 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 14 Apr 2023 16:08:58 -0700 Subject: [PATCH] binext: add type cast Signed-off-by: Varun Patil --- lib/Service/BinExt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/BinExt.php b/lib/Service/BinExt.php index 2ccef584..39d40b77 100644 --- a/lib/Service/BinExt.php +++ b/lib/Service/BinExt.php @@ -304,7 +304,7 @@ class BinExt } // Parse body - $json = json_decode($res->getBody(), true); + $json = json_decode((string) $res->getBody(), true); if (!$json) { throw new \Exception('failed to parse go-vod response'); }