Skip to content

Commit 57bc927

Browse files
committed
Add 'setUp(): void' declaration for PhpUnit 9 compatibility
1 parent 4893496 commit 57bc927

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Test/Integration/Model/BlockInstaller/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
4646
*/
4747
protected $getFirstBlockByBlockEntry;
4848

49-
protected function setUp()
49+
protected function setUp(): void
5050
{
5151
parent::setUp();
5252

@@ -67,7 +67,7 @@ protected function setUp()
6767
->create(GetFirstBlockByBlockEntry::class);
6868
}
6969

70-
protected function tearDown()
70+
protected function tearDown(): void
7171
{
7272
parent::tearDown();
7373

Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class InstallMediaFilesTest extends TestCase
2424
*/
2525
protected $fileSystem;
2626

27-
protected function setUp()
27+
protected function setUp(): void
2828
{
2929
parent::setUp();
3030

Test/Integration/Model/PageInstaller/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function setUp(): void
6868
->create(GetFirstPageByPageEntry::class);
6969
}
7070

71-
protected function tearDown()
71+
protected function tearDown(): void
7272
{
7373
parent::tearDown();
7474

0 commit comments

Comments
 (0)