mirror of
https://github.com/moodle/moodle.git
synced 2025-04-06 00:42:44 +02:00
Merge branch 'MDL-81621-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
9977c07a69
@ -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