diff --git a/src/Signer.php b/src/Signer.php index 1ac573a..1558c1d 100755 --- a/src/Signer.php +++ b/src/Signer.php @@ -303,6 +303,7 @@ public static function digestCheck($xml, $tagname = '', $canonical = self::CANON $tagname = $root->nodeName; } else { $xpath = new \DOMXPath($dom); + /** @var \DOMNodeList $entries */ $entries = $xpath->query('//@Id'); foreach ($entries as $entry) { $tagname = $entry->ownerElement->nodeName;