Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko-pagliai committed May 8, 2024
1 parent b53e250 commit cf89bf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/TestCase/TestSuite/TestCaseTest.php
Expand Up @@ -37,7 +37,8 @@ public function setUp(): void
parent::setUp();

$this->TestCase = new class ('testSomeMethod') extends TestCase {
public function testSomeMethod() {
public function testSomeMethod(): void
{
}
};
}
Expand Down
3 changes: 2 additions & 1 deletion tests/TestCase/TestSuite/TestTraitTest.php
Expand Up @@ -37,7 +37,8 @@ public function testAssertImageSize(): void
}
imagejpeg($resource, TMP . 'pic.jpg');
$TestCase = new class ('MyTest') extends TestCase {
public function testSomeMethod() {
public function testSomeMethod(): void
{
}
};

Expand Down

0 comments on commit cf89bf4

Please sign in to comment.