forked from hans/Nominatim
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:
@@ -7,7 +7,7 @@ require_once(CONST_BasePath.'/lib/DebugHtml.php');
|
||||
class DebugTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->oWithDebuginfo = $this->getMockBuilder(\GeococdeMock::class)
|
||||
->setMethods(array('debugInfo'))
|
||||
|
||||
Reference in New Issue
Block a user