Declare return type of testcase setUp method

PHPUnit 7 changed the signature of the TestCase methods to include the
return type.
This commit is contained in:
Simon Will
2020-05-05 23:40:18 +02:00
parent c2f0d8e5ba
commit 43fd2a7423
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ class SearchContextTest extends \PHPUnit\Framework\TestCase
private $oCtx;
protected function setUp()
protected function setUp(): void
{
$this->oCtx = new SearchContext();
}