Update Stripe lib to 10.7.0

This commit is contained in:
Laurent Destailleur
2023-04-24 18:42:04 +02:00
parent 06f8291e07
commit 936512d0bb
256 changed files with 8077 additions and 2978 deletions

View File

@@ -28,8 +28,8 @@ class RandomGenerator
public function uuid()
{
$arr = \array_values(\unpack('N1a/n4b/N1c', \openssl_random_pseudo_bytes(16)));
$arr[2] = ($arr[2] & 0x0fff) | 0x4000;
$arr[3] = ($arr[3] & 0x3fff) | 0x8000;
$arr[2] = ($arr[2] & 0x0FFF) | 0x4000;
$arr[3] = ($arr[3] & 0x3FFF) | 0x8000;
return \vsprintf('%08x-%04x-%04x-%04x-%04x%08x', $arr);
}