X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsite%2FHashSiteStoreTest.php;h=6269fd39dc24337d91daccb296c8ca507cf379d6;hb=3377ea714717edcc279b0f88f8172af5bec9808d;hp=bebc093696ad2f1ce8f596007646e4bdd7d7d743;hpb=fdfeaff8e5d15c10116385cd09df73dadf8c131b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/site/HashSiteStoreTest.php b/tests/phpunit/includes/site/HashSiteStoreTest.php index bebc093696..6269fd39dc 100644 --- a/tests/phpunit/includes/site/HashSiteStoreTest.php +++ b/tests/phpunit/includes/site/HashSiteStoreTest.php @@ -30,7 +30,7 @@ class HashSiteStoreTest extends MediaWikiTestCase { * @covers HashSiteStore::getSites */ public function testGetSites() { - $expectedSites = array(); + $expectedSites = []; foreach ( TestSites::getSites() as $testSite ) { $siteId = $testSite->getGlobalId(); @@ -66,7 +66,7 @@ class HashSiteStoreTest extends MediaWikiTestCase { public function testSaveSites() { $store = new HashSiteStore(); - $sites = array(); + $sites = []; $site = new Site(); $site->setGlobalId( 'enwiki' );