mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-81621 mod_bigbluebuttonbn: remove reflection setAccessible call.
See 361dfe8145 for context.
This commit is contained in:
parent
f0c1a3789d
commit
b65b4892ae
@ -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