X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fsite%2FSiteImporter.php;h=5e13d061528824f0c40b8c7fb72c2419a77ca018;hb=d19826aa35b206847a568a4b2c1c9ffaa615fca5;hp=9aefea251826e0375b1a1a307f227dad2f3244bb;hpb=415b31766677e190c13322742b4e42da1157538c;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