Vendor packages updated

This commit is contained in:
2026-07-07 22:49:30 +02:00
parent 30269316b2
commit 97963b34aa
1239 changed files with 216109 additions and 81192 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace Safe\Exceptions;
class CurlException extends \Exception implements SafeExceptionInterface
{
/**
* @param \CurlHandle $ch
*/
public static function createFromPhpError($ch = null): self
{
return new self($ch ? \curl_error($ch) : '', $ch ? \curl_errno($ch) : 0);
}
}