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/api/ApiOptionsTest.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/api/ApiOptionsTest.php')
-rw-r--r-- | tests/phpunit/includes/api/ApiOptionsTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/ApiOptionsTest.php b/tests/phpunit/includes/api/ApiOptionsTest.php index bafe09b5f120..7aa743f637e2 100644 --- a/tests/phpunit/includes/api/ApiOptionsTest.php +++ b/tests/phpunit/includes/api/ApiOptionsTest.php @@ -21,7 +21,7 @@ class ApiOptionsTest extends MediaWikiLangTestCase { private static $Success = [ 'options' => 'success' ]; - protected function setUp() { + protected function setUp() : void { parent::setUp(); $this->mUserMock = $this->getMockBuilder( User::class ) |