mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
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/TokenList.php');
|
||||
|
||||
class TokenTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->oNormalizer = $this->getMockBuilder(\MockNormalizer::class)
|
||||
->setMethods(array('transliterate'))
|
||||
|
||||
Reference in New Issue
Block a user