aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/brick/math/src/BigInteger.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-11 18:41:34 +0000
committerMario <mario@mariovavti.com>2022-10-11 18:41:34 +0000
commit10ba98c4f5ec4efe6272516de47f0ce128ef2902 (patch)
treefbbde69114acba764cf6b735433c53e099fd19c5 /vendor/brick/math/src/BigInteger.php
parent108a3efe0b6d37a7ed394a84c69b924ca727f17a (diff)
downloadvolse-hubzilla-10ba98c4f5ec4efe6272516de47f0ce128ef2902.tar.gz
volse-hubzilla-10ba98c4f5ec4efe6272516de47f0ce128ef2902.tar.bz2
volse-hubzilla-10ba98c4f5ec4efe6272516de47f0ce128ef2902.zip
Revert "update composer libs"
This reverts commit 108a3efe0b6d37a7ed394a84c69b924ca727f17a.
Diffstat (limited to 'vendor/brick/math/src/BigInteger.php')
-rw-r--r--vendor/brick/math/src/BigInteger.php19
1 files changed, 3 insertions, 16 deletions
diff --git a/vendor/brick/math/src/BigInteger.php b/vendor/brick/math/src/BigInteger.php
index f58e1c595..f213fbedb 100644
--- a/vendor/brick/math/src/BigInteger.php
+++ b/vendor/brick/math/src/BigInteger.php
@@ -26,8 +26,10 @@ final class BigInteger extends BigNumber
*
* No leading zeros must be present.
* No leading minus sign must be present if the number is zero.
+ *
+ * @var string
*/
- private string $value;
+ private $value;
/**
* Protected constructor. Use a factory method to obtain an instance.
@@ -359,21 +361,6 @@ final class BigInteger extends BigNumber
return $ten;
}
- public static function gcdMultiple(BigInteger $a, BigInteger ...$n): BigInteger
- {
- $result = $a;
-
- foreach ($n as $next) {
- $result = $result->gcd($next);
-
- if ($result->isEqualTo(1)) {
- return $result;
- }
- }
-
- return $result;
- }
-
/**
* Returns the sum of this number and the given one.
*