From 1a0cd6d6a6529a7c5d5a641af86e7ae2bbcc1fda Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 28 Nov 2022 19:20:01 +1300 Subject: [PATCH] API Stop using deprecated API --- src/Rest/TikaRestClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rest/TikaRestClient.php b/src/Rest/TikaRestClient.php index c8ee574..c042b23 100644 --- a/src/Rest/TikaRestClient.php +++ b/src/Rest/TikaRestClient.php @@ -108,7 +108,7 @@ class TikaRestClient extends Client ]) ); - return $this->mimes = Convert::json2array($response->getBody()); + return $this->mimes = json_decode($response->getBody(), true); } /**