diff options
author | Mario <mario@mariovavti.com> | 2024-09-30 07:09:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-09-30 07:09:20 +0000 |
commit | 5782a674b0cb490f1e3544e5dcb0f7e969361df3 (patch) | |
tree | 9c92590c3f04de627c0f9a3932221205df80caad /vendor/ramsey | |
parent | fc79e47d88f36709f680d2111035fd123203ce0b (diff) | |
download | volse-hubzilla-5782a674b0cb490f1e3544e5dcb0f7e969361df3.tar.gz volse-hubzilla-5782a674b0cb490f1e3544e5dcb0f7e969361df3.tar.bz2 volse-hubzilla-5782a674b0cb490f1e3544e5dcb0f7e969361df3.zip |
update ramsey/uuid
Diffstat (limited to 'vendor/ramsey')
-rw-r--r-- | vendor/ramsey/uuid/composer.json | 2 | ||||
-rw-r--r-- | vendor/ramsey/uuid/src/Math/BrickMathCalculator.php | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/vendor/ramsey/uuid/composer.json b/vendor/ramsey/uuid/composer.json index 9ea4e06b3..8139b54e3 100644 --- a/vendor/ramsey/uuid/composer.json +++ b/vendor/ramsey/uuid/composer.json @@ -11,7 +11,7 @@ "require": { "php": "^8.0", "ext-json": "*", - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", "ramsey/collection": "^1.2 || ^2.0" }, "require-dev": { diff --git a/vendor/ramsey/uuid/src/Math/BrickMathCalculator.php b/vendor/ramsey/uuid/src/Math/BrickMathCalculator.php index f2d86788c..f065acd46 100644 --- a/vendor/ramsey/uuid/src/Math/BrickMathCalculator.php +++ b/vendor/ramsey/uuid/src/Math/BrickMathCalculator.php @@ -136,9 +136,11 @@ final class BrickMathCalculator implements CalculatorInterface /** * Maps ramsey/uuid rounding modes to those used by brick/math + * + * @return BrickMathRounding::* */ - private function getBrickRoundingMode(int $roundingMode): int + private function getBrickRoundingMode(int $roundingMode) { - return self::ROUNDING_MODE_MAP[$roundingMode] ?? 0; + return self::ROUNDING_MODE_MAP[$roundingMode] ?? BrickMathRounding::UNNECESSARY; } } |