From fc8b5118de6bbd6ca3b77b03505efc4978a17ce2 Mon Sep 17 00:00:00 2001 From: G4Zz0L1 Date: Thu, 11 Dec 2025 00:04:30 +0100 Subject: [PATCH] Remove redundant curl_close in PlexApi.php Removed unnecessary curl_close call before returning response. PHP 8.5 deprecated curl_close() See: https://www.php.net/manual/en/function.curl-close.php https://www.php.net/manual/en/migration85.deprecated.php --- src/jc21/PlexApi.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/jc21/PlexApi.php b/src/jc21/PlexApi.php index fa1b9f3..fb86c07 100644 --- a/src/jc21/PlexApi.php +++ b/src/jc21/PlexApi.php @@ -637,7 +637,6 @@ public function call($path, $params = [], $method = self::GET, $isLoginCall = fa } } - curl_close($resource); return $response; }