diff options
author | Max Semenik <maxsem.wiki@gmail.com> | 2019-10-20 11:11:08 -0700 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2019-10-30 14:31:22 -0700 |
commit | 48a323f70264a7ef4321912a802013df1d04d8c7 (patch) | |
tree | 33d1dccccee8dc2b5c8e85c8037201f821eaad49 /tests/phpunit/includes/TitleMethodsTest.php | |
parent | d03d614c3422a5dc90f99ea3793487727c852489 (diff) | |
download | mediawikicore-48a323f70264a7ef4321912a802013df1d04d8c7.tar.gz mediawikicore-48a323f70264a7ef4321912a802013df1d04d8c7.zip |
tests: Add explicit return type void to setUp() and tearDown()
Bug: T192167
Depends-On: I581e54278ac5da3f4e399e33f2c7ad468bae6b43
Change-Id: I3a21fb55db76bac51afdd399cf40ed0760e4f343
Diffstat (limited to 'tests/phpunit/includes/TitleMethodsTest.php')
-rw-r--r-- | tests/phpunit/includes/TitleMethodsTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/TitleMethodsTest.php b/tests/phpunit/includes/TitleMethodsTest.php index c36f8525dbd1..07fa2fb03b80 100644 --- a/tests/phpunit/includes/TitleMethodsTest.php +++ b/tests/phpunit/includes/TitleMethodsTest.php @@ -12,7 +12,7 @@ use MediaWiki\MediaWikiServices; */ class TitleMethodsTest extends MediaWikiLangTestCase { - protected function setUp() { + protected function setUp() : void { parent::setUp(); $this->mergeMwGlobalArrayValue( @@ -462,7 +462,7 @@ class TitleMethodsTest extends MediaWikiLangTestCase { ); } - public function tearDown() { + public function tearDown() : void { Title::clearCaches(); parent::tearDown(); } |