1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 09:38:06 +01:00

fix: drop use of "self" in callable as it's deprecated since php 8.2

This commit is contained in:
Simon Podlipsky 2022-12-16 16:09:22 +01:00 committed by terrafrost
parent 90a1765106
commit 97ea650dba

View File

@ -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;
}