File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3434 */
3535class mod_moodleoverflow_locallib_testcase extends advanced_testcase {
3636
37- public function setUp () {
37+ public function setUp (): void {
3838 \mod_moodleoverflow \subscriptions::reset_moodleoverflow_cache ();
3939 }
4040
41- public function tearDown () {
41+ public function tearDown (): void {
4242 \mod_moodleoverflow \subscriptions::reset_moodleoverflow_cache ();
4343 }
4444
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class mod_moodleoverflow_privacy_provider_testcase extends \core_privacy\tests\p
4545 /**
4646 * Test setUp.
4747 */
48- public function setUp () {
48+ public function setUp (): void {
4949 $ this ->resetAfterTest (true );
5050 $ this ->generator = $ this ->getDataGenerator ()->get_plugin_generator ('mod_moodleoverflow ' );
5151 }
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class mod_moodleoverflow_subscriptions_testcase extends advanced_testcase {
3939 /**
4040 * Test setUp.
4141 */
42- public function setUp () {
42+ public function setUp (): void {
4343 // Clear all caches.
4444 \mod_moodleoverflow \subscriptions::reset_moodleoverflow_cache ();
4545 \mod_moodleoverflow \subscriptions::reset_discussion_cache ();
@@ -48,7 +48,7 @@ public function setUp() {
4848 /**
4949 * Test tearDown.
5050 */
51- public function tearDown () {
51+ public function tearDown (): void {
5252 // Clear all caches.
5353 \mod_moodleoverflow \subscriptions::reset_moodleoverflow_cache ();
5454 \mod_moodleoverflow \subscriptions::reset_discussion_cache ();
You can’t perform that action at this time.
0 commit comments