From 97ea650dbae4ed65d1cc77c498e5685dd26fb320 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Fri, 16 Dec 2022 16:09:22 +0100 Subject: [PATCH] fix: drop use of "self" in callable as it's deprecated since php 8.2 --- .../Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php b/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php index 2f2c54b5..2f943317 100644 --- a/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php +++ b/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php @@ -105,7 +105,7 @@ abstract class EvalBarrett extends Base $rhs = new ' . $class . '(); $lhs->value = $n; $rhs->value = [' . - implode(',', array_map('self::float2string', $m)) . ']; + implode(',', array_map(self::class . '::float2string', $m)) . ']; list(, $temp) = $lhs->divide($rhs); return $temp->value; }