aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/objectcache
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/objectcache
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/objectcache')
-rw-r--r--tests/phpunit/includes/objectcache/ObjectCacheTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/objectcache/ObjectCacheTest.php b/tests/phpunit/includes/objectcache/ObjectCacheTest.php
index 7f52ca6039be..9440cdf3f920 100644
--- a/tests/phpunit/includes/objectcache/ObjectCacheTest.php
+++ b/tests/phpunit/includes/objectcache/ObjectCacheTest.php
@@ -2,7 +2,7 @@
class ObjectCacheTest extends MediaWikiTestCase {
- protected function setUp() {
+ protected function setUp() : void {
// Parent calls ObjectCache::clear() among other things
parent::setUp();