X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fsite%2FSiteImporter.php;h=5e13d061528824f0c40b8c7fb72c2419a77ca018;hp=9aefea251826e0375b1a1a307f227dad2f3244bb;hb=2480aae0c97d822e10b50619e7b48b25c45af073;hpb=c97d773e1427a8827e3e6889547cd054c51c86e7 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