Skip to content

Commit 3516aae

Browse files
authored
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.
1 parent a2fa4c1 commit 3516aae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Providers/Qr/BaseHTTPQRCodeProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ protected function getContent(string $url): string
2626
throw new QRException(curl_error($curlhandle));
2727
}
2828

29-
curl_close($curlhandle);
3029
return $data;
3130
}
3231
}

0 commit comments

Comments
 (0)