mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
Merge branch 'MDL-81621' of https://github.com/paulholden/moodle
This commit is contained in:
commit
e768a13b07
@ -53,9 +53,7 @@ class base_send_notification_test extends advanced_testcase {
|
||||
*/
|
||||
private function get_instance_reflection(): \ReflectionMethod {
|
||||
$rc = new \ReflectionClass(base_send_notification::class);
|
||||
$rcm = $rc->getMethod('get_instance');
|
||||
$rcm->setAccessible(true);
|
||||
return $rcm;
|
||||
return $rc->getMethod('get_instance');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user