Removed curl_close that has no effect since PHP 8.0 to avoid deprecation warning on PHP 8.5 (#155)

Since 8.0 a CurlHandle object is returned, and curl_close() has no effect, so this change won't impact earlier versions.
This commit is contained in:
Givan
2026-01-05 15:16:44 +02:00
committed by GitHub
parent a2fa4c11a9
commit 3516aae5a3

View File

@ -26,7 +26,6 @@ abstract class BaseHTTPQRCodeProvider implements IQRCodeProvider
throw new QRException(curl_error($curlhandle));
}
curl_close($curlhandle);
return $data;
}
}