upgrade idiorm to php8.1-patched version (aaronpk/idiorm)
This commit is contained in:
@@ -6,9 +6,9 @@ namespace Safe\Exceptions;
|
||||
class CurlException extends \Exception implements SafeExceptionInterface
|
||||
{
|
||||
/**
|
||||
* @param resource $ch
|
||||
* @param \CurlHandle $ch
|
||||
*/
|
||||
public static function createFromCurlResource($ch): self
|
||||
public static function createFromPhpError($ch): self
|
||||
{
|
||||
return new self(\curl_error($ch), \curl_errno($ch));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user