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:
parent
90a1765106
commit
97ea650dba
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user