X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FSiteImporter.php;h=571b6e44c6d3bf2917ce06872345fbc2db9ee5b6;hb=f704207ba129198e21ada72c2961e5bd26ac3227;hp=5e13d061528824f0c40b8c7fb72c2419a77ca018;hpb=6f7e982df6479e27c3b17f2deda8404ef55f50e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index 5e13d06152..571b6e44c6 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 { @@ -168,6 +168,7 @@ class SiteImporter { $pathTags = $siteElement->getElementsByTagName( 'path' ); for ( $i = 0; $i < $pathTags->length; $i++ ) { $pathElement = $pathTags->item( $i ); + '@phan-var DOMElement $pathElement'; $pathType = $this->getAttributeValue( $pathElement, 'type' ); $path = $pathElement->textContent; @@ -177,6 +178,7 @@ class SiteImporter { $idTags = $siteElement->getElementsByTagName( 'localid' ); for ( $i = 0; $i < $idTags->length; $i++ ) { $idElement = $idTags->item( $i ); + '@phan-var DOMElement $idElement'; $idType = $this->getAttributeValue( $idElement, 'type' ); $id = $idElement->textContent;