X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fsite%2FSiteImporter.php;h=5e13d061528824f0c40b8c7fb72c2419a77ca018;hp=a05bad5dc96ebacbdfe7b44abd188554eb46d149;hb=802c199d0bd80ff0f4d730c61fd58cbf08a52d8d;hpb=7f1df682b62457e267831ec6527ca4728723caef diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index a05bad5dc9..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. @@ -183,15 +183,15 @@ class SiteImporter { $site->addLocalId( $idType, $id ); } - //@todo: import - //@todo: import + // @todo: import + // @todo: import return $site; } /** * @param DOMElement $element - * @param $name + * @param string $name * @param string|null|bool $default * * @return null|string