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
parent 8568af7f9b
commit d92ac15f3c
No known key found for this signature in database
GPG Key ID: 9EEEDB31F3A8D760

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