We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c801e commit c7f6474Copy full SHA for c7f6474
tests/redis_lock_factory_test.php
@@ -39,7 +39,7 @@
39
40
class local_redislock_redis_lock_factory_test extends \advanced_testcase {
41
42
- public function setUp() {
+ public function setUp(): void {
43
global $CFG;
44
45
$this->resetAfterTest();
@@ -52,7 +52,7 @@ public function setUp() {
52
/**
53
* @throws coding_exception
54
*/
55
- protected function tearDown() {
+ protected function tearDown(): void {
56
shared_redis_connection::get_instance()->close();
57
while (!empty(shared_redis_connection::get_instance()->get_factory_count())) {
58
shared_redis_connection::get_instance()->remove_factory();
0 commit comments