Merge branch 'MDL-70893-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2021-03-18 00:23:26 +01:00
20 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -913,7 +913,7 @@ class phpunit_util extends testing_util {
* or the name of the static class when calling a static method.
* @return mixed the respective return value of the method.
*/
public static function call_internal_method($object, $methodname, array $params = array(), $classname) {
public static function call_internal_method($object, $methodname, array $params, $classname) {
$reflection = new \ReflectionClass($classname);
$method = $reflection->getMethod($methodname);
$method->setAccessible(true);