MDL-70893 various: optional function arguments must be in the end
This commit is contained in:
@@ -916,7 +916,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);
|
||||
|
||||
Reference in New Issue
Block a user