From: Thiemo Mättig Date: Mon, 7 Mar 2016 10:41:03 +0000 (+0100) Subject: Don't return PHPUnit_Framework_MockObject_MockObject when not needed X-Git-Tag: 1.31.0-rc.0~7649 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=3450e826e31de486716508dd6c8061c760cfb624;p=lhc%2Fweb%2Fwiklou.git Don't return PHPUnit_Framework_MockObject_MockObject when not needed The callers of this method don't need to know about this additional interface. Change-Id: I9e5531e495b7f5c890e8e520d661ccd5b0a644e1 --- diff --git a/tests/phpunit/includes/cache/LocalisationCacheTest.php b/tests/phpunit/includes/cache/LocalisationCacheTest.php index 7d62b018b3..697eb2dc81 100644 --- a/tests/phpunit/includes/cache/LocalisationCacheTest.php +++ b/tests/phpunit/includes/cache/LocalisationCacheTest.php @@ -15,7 +15,7 @@ class LocalisationCacheTest extends MediaWikiTestCase { } /** - * @return PHPUnit_Framework_MockObject_MockObject|LocalisationCache + * @return LocalisationCache */ protected function getMockLocalisationCache() { global $IP;