@@ -33,7 +33,7 @@ class SettingTest extends TestCase {
|
||||
/** @var Setting */
|
||||
private $setting;
|
||||
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
$this->l10n = $this->createMock(IL10N::class);
|
||||
$this->l10n->expects($this->any())->method('t')->will($this->returnCallback(function ($s) { return $s; }));
|
||||
$this->setting = new Setting($this->l10n);
|
||||
|
||||
Reference in New Issue
Block a user