aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiOptionsTest.php
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2019-10-20 11:11:08 -0700
committerJames D. Forrester <jforrester@wikimedia.org>2019-10-30 14:31:22 -0700
commit48a323f70264a7ef4321912a802013df1d04d8c7 (patch)
tree33d1dccccee8dc2b5c8e85c8037201f821eaad49 /tests/phpunit/includes/api/ApiOptionsTest.php
parentd03d614c3422a5dc90f99ea3793487727c852489 (diff)
downloadmediawikicore-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.php2
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 )