MDL-76413 lib: Fixed PHP 8.2 callable deprecations in evalmath
This commit is contained in:
@@ -557,7 +557,7 @@ class EvalMathFuncs {
|
||||
|
||||
static function average() {
|
||||
$args = func_get_args();
|
||||
return (call_user_func_array(array('self', 'sum'), $args) / count($args));
|
||||
return (call_user_func_array(array(self::class, 'sum'), $args) / count($args));
|
||||
}
|
||||
|
||||
static function max() {
|
||||
|
||||
Reference in New Issue
Block a user