Don't return PHPUnit_Framework_MockObject_MockObject when not needed
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Mon, 7 Mar 2016 10:41:03 +0000 (11:41 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 11 Mar 2016 15:28:46 +0000 (15:28 +0000)
The callers of this method don't need to know about this additional
interface.

Change-Id: I9e5531e495b7f5c890e8e520d661ccd5b0a644e1

tests/phpunit/includes/cache/LocalisationCacheTest.php

index 7d62b01..697eb2d 100644 (file)
@@ -15,7 +15,7 @@ class LocalisationCacheTest extends MediaWikiTestCase {
        }
 
        /**
-        * @return PHPUnit_Framework_MockObject_MockObject|LocalisationCache
+        * @return LocalisationCache
         */
        protected function getMockLocalisationCache() {
                global $IP;