MDL-76413 lib: Fixed PHP 8.2 callable deprecations in evalmath

This commit is contained in:
raortegar
2023-02-13 10:36:46 +01:00
parent d7fd2c788a
commit 3a673213fb
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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() {