aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/cache
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/cache')
-rw-r--r--tests/phpunit/includes/cache/LocalisationCacheTest.php2
-rw-r--r--tests/phpunit/includes/cache/MessageCacheTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/cache/LocalisationCacheTest.php b/tests/phpunit/includes/cache/LocalisationCacheTest.php
index 4dd819a61b86..163e0a99d8cc 100644
--- a/tests/phpunit/includes/cache/LocalisationCacheTest.php
+++ b/tests/phpunit/includes/cache/LocalisationCacheTest.php
@@ -11,7 +11,7 @@ use Psr\Log\NullLogger;
* @author Niklas Laxström
*/
class LocalisationCacheTest extends MediaWikiTestCase {
- protected function setUp() {
+ protected function setUp() : void {
parent::setUp();
$this->setMwGlobals( [
'wgExtensionMessagesFiles' => [],
diff --git a/tests/phpunit/includes/cache/MessageCacheTest.php b/tests/phpunit/includes/cache/MessageCacheTest.php
index e786f42ae970..e3c11a6132fb 100644
--- a/tests/phpunit/includes/cache/MessageCacheTest.php
+++ b/tests/phpunit/includes/cache/MessageCacheTest.php
@@ -10,7 +10,7 @@ use Wikimedia\TestingAccessWrapper;
*/
class MessageCacheTest extends MediaWikiLangTestCase {
- protected function setUp() {
+ protected function setUp() : void {
parent::setUp();
$this->configureLanguages();
MessageCache::singleton()->enable();