upgrade idiorm to php8.1-patched version (aaronpk/idiorm)

This commit is contained in:
Andrew Dolgov
2022-07-12 22:26:21 +03:00
parent 4b61618920
commit 80d3db1dcf
189 changed files with 17077 additions and 12739 deletions

View File

@@ -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));
}