X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FSiteImporter.php;h=956bdab37e6ff997bb8fd523d6849ea0df991bf3;hb=e0a3801da297d012fc67f2c128ab7e57e20f0571;hp=a05bad5dc96ebacbdfe7b44abd188554eb46d149;hpb=53a43bb6516ceeecf7b6712169e6b2f8c4ce0fb9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index a05bad5dc9..956bdab37e 100644 --- a/includes/site/SiteImporter.php +++ b/includes/site/SiteImporter.php @@ -24,7 +24,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Daniel Kinzler */ class SiteImporter { @@ -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