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/parser/ParserPreloadTest.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/parser/ParserPreloadTest.php')
-rw-r--r-- | tests/phpunit/includes/parser/ParserPreloadTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/parser/ParserPreloadTest.php b/tests/phpunit/includes/parser/ParserPreloadTest.php index 560b921a8dd6..a09c9415c13d 100644 --- a/tests/phpunit/includes/parser/ParserPreloadTest.php +++ b/tests/phpunit/includes/parser/ParserPreloadTest.php @@ -44,7 +44,7 @@ class ParserPreloadTest extends MediaWikiTestCase { */ private $title; - protected function setUp() { + protected function setUp() : void { parent::setUp(); $this->testParserOptions = ParserOptions::newFromUserAndLang( new User, MediaWikiServices::getInstance()->getContentLanguage() ); @@ -56,7 +56,7 @@ class ParserPreloadTest extends MediaWikiTestCase { $this->title = Title::newFromText( 'Preload Test' ); } - protected function tearDown() { + protected function tearDown() : void { parent::tearDown(); unset( $this->testParser ); |