X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FSiteImporter.php;h=5e13d061528824f0c40b8c7fb72c2419a77ca018;hb=732b5e2745ca8f6153e19cc10c3c9acb1b2a6331;hp=9aefea251826e0375b1a1a307f227dad2f3244bb;hpb=230f2b456b0dd53cb9056edcf765aab49197906a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index 9aefea2518..5e13d06152 100644 --- a/includes/site/SiteImporter.php +++ b/includes/site/SiteImporter.php @@ -116,7 +116,7 @@ class SiteImporter { * @return Site[] */ private function makeSiteList( DOMElement $root ) { - $sites = array(); + $sites = []; // Old sites, to get the row IDs that correspond to the global site IDs. // TODO: Get rid of internal row IDs, they just get in the way. Get rid of ORMRow, too. @@ -191,7 +191,7 @@ class SiteImporter { /** * @param DOMElement $element - * @param $name + * @param string $name * @param string|null|bool $default * * @return null|string