diff options
Diffstat (limited to 'tests/phpunit/unit/includes/Rest/ResponseFactoryTest.php')
-rw-r--r-- | tests/phpunit/unit/includes/Rest/ResponseFactoryTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/unit/includes/Rest/ResponseFactoryTest.php b/tests/phpunit/unit/includes/Rest/ResponseFactoryTest.php index 3f3123b1f68e..fae01dfc5984 100644 --- a/tests/phpunit/unit/includes/Rest/ResponseFactoryTest.php +++ b/tests/phpunit/unit/includes/Rest/ResponseFactoryTest.php @@ -23,11 +23,11 @@ class ResponseFactoryTest extends MediaWikiUnitTestCase { private function createResponseFactory() { $fakeTextFormatter = new class implements ITextFormatter { - function getLangCode() { + public function getLangCode() { return 'qqx'; } - function format( MessageValue $message ) { + public function format( MessageValue $message ) { return $message->getKey(); } }; |