Remove deprecated curl_close calls

This commit is contained in:
Chirag Aggarwal committed 2026-04-29 15:47:12 +05:30
1 parent 969dc9477e
commit 2b7e29ea83
2 files changed
-2

No files matched your search

-1
View File
@@ -150,7 +150,6 @@ abstract class Target
throw new \Exception(\curl_error($ch), Exception::CODE_INTERNAL);
}
\curl_close($ch);
if ($responseStatus >= 400) {
if (\is_array($responseBody)) {
-1
View File
@@ -124,7 +124,6 @@ abstract class Base extends TestCase
throw new \Exception(curl_error($ch));
}
curl_close($ch);
if ($responseStatus >= 400) {
if (is_array($responseBody)) {