aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-03 10:57:15 +0000
committerMario <mario@mariovavti.com>2024-01-03 10:57:15 +0000
commita56f6576e224922082670788755e357779b45db4 (patch)
treed5cfec9785ac3be2b1a6b4cb08beeede0d17f19e /vendor/ramsey
parentd3e5d05026feec42f5836f821982e0cc59d91353 (diff)
downloadvolse-hubzilla-a56f6576e224922082670788755e357779b45db4.tar.gz
volse-hubzilla-a56f6576e224922082670788755e357779b45db4.tar.bz2
volse-hubzilla-a56f6576e224922082670788755e357779b45db4.zip
update ramsey/uuid
Diffstat (limited to 'vendor/ramsey')
-rw-r--r--vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php2
-rw-r--r--vendor/ramsey/uuid/src/UuidInterface.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php b/vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php
index af94decf2..d7c8ed4ee 100644
--- a/vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php
+++ b/vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php
@@ -142,7 +142,7 @@ class UnixTimeGenerator implements TimeGeneratorInterface
self::$seedIndex = 21;
}
- self::$rand[5] = 0xffff & $carry = self::$rand[5] + (self::$seedParts[self::$seedIndex--] & 0xffffff);
+ self::$rand[5] = 0xffff & $carry = self::$rand[5] + 1 + (self::$seedParts[self::$seedIndex--] & 0xffffff);
self::$rand[4] = 0xffff & $carry = self::$rand[4] + ($carry >> 16);
self::$rand[3] = 0xffff & $carry = self::$rand[3] + ($carry >> 16);
self::$rand[2] = 0xffff & $carry = self::$rand[2] + ($carry >> 16);
diff --git a/vendor/ramsey/uuid/src/UuidInterface.php b/vendor/ramsey/uuid/src/UuidInterface.php
index 0a9780805..cac9457de 100644
--- a/vendor/ramsey/uuid/src/UuidInterface.php
+++ b/vendor/ramsey/uuid/src/UuidInterface.php
@@ -46,7 +46,7 @@ interface UuidInterface extends
*
* @param UuidInterface $other The UUID to compare
*
- * @return int -1, 0, or 1 if the UUID is less than, equal to, or greater than $other
+ * @return int<-1,1> -1, 0, or 1 if the UUID is less than, equal to, or greater than $other
*/
public function compareTo(UuidInterface $other): int;