dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add more specific Site[] type hints to SiteStore classes
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
site
/
CachingSiteStoreTest.php
diff --git
a/tests/phpunit/includes/site/CachingSiteStoreTest.php
b/tests/phpunit/includes/site/CachingSiteStoreTest.php
index
edb8f9f
..
7e37907
100644
(file)
--- a/
tests/phpunit/includes/site/CachingSiteStoreTest.php
+++ b/
tests/phpunit/includes/site/CachingSiteStoreTest.php
@@
-148,6
+148,11
@@
class CachingSiteStoreTest extends MediaWikiTestCase {
$this->assertEquals( 0, $sites->count() );
}
+ /**
+ * @param Site[] $sites
+ *
+ * @return SiteStore
+ */
private function getHashSiteStore( array $sites ) {
$siteStore = new HashSiteStore();
$siteStore->saveSites( $sites );