Skip to content

Commit c7f6474

Browse files
mudrd8mzDavid Castro
authored andcommitted
INT-16334: Make methods signature compatible with PHPUnit 8.5 in Moodle 3.10
Resolves #9
1 parent 92c801e commit c7f6474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/redis_lock_factory_test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
class local_redislock_redis_lock_factory_test extends \advanced_testcase {
4141

42-
public function setUp() {
42+
public function setUp(): void {
4343
global $CFG;
4444

4545
$this->resetAfterTest();
@@ -52,7 +52,7 @@ public function setUp() {
5252
/**
5353
* @throws coding_exception
5454
*/
55-
protected function tearDown() {
55+
protected function tearDown(): void {
5656
shared_redis_connection::get_instance()->close();
5757
while (!empty(shared_redis_connection::get_instance()->get_factory_count())) {
5858
shared_redis_connection::get_instance()->remove_factory();

0 commit comments

Comments
 (0)