aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/content/ContentHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/content/ContentHandlerTest.php')
-rw-r--r--tests/phpunit/includes/content/ContentHandlerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/content/ContentHandlerTest.php b/tests/phpunit/includes/content/ContentHandlerTest.php
index 99ea782c376d..2d5ee2fcf507 100644
--- a/tests/phpunit/includes/content/ContentHandlerTest.php
+++ b/tests/phpunit/includes/content/ContentHandlerTest.php
@@ -9,7 +9,7 @@ use Wikimedia\TestingAccessWrapper;
*/
class ContentHandlerTest extends MediaWikiTestCase {
- protected function setUp() {
+ protected function setUp() : void {
parent::setUp();
$this->setMwGlobals( [
@@ -39,7 +39,7 @@ class ContentHandlerTest extends MediaWikiTestCase {
MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );
}
- protected function tearDown() {
+ protected function tearDown() : void {
// Reset LinkCache
MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );