Skip to content

Commit 219740d

Browse files
committed
fix unit test error for framework
1 parent 07ac629 commit 219740d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/CoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CoTest extends TestCase
2626
{
2727
/**
2828
*/
29-
public function tearDown()
29+
public function tearDown(): void
3030
{
3131
Context::getWaitGroup()->wait();
3232
}

test/unit/TimerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class TimerTest extends TestCase
3636

3737
/**
3838
*/
39-
public function setUp()
39+
public function setUp(): void
4040
{
4141
Context::set(TestContext::new());
4242
}

0 commit comments

Comments
 (0)