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
1 changed files with 1 additions and 1 deletions

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