From 2ea39647d7a3b96bff3cb4c296b0ac14c4d926d5 Mon Sep 17 00:00:00 2001 From: Gerson Felipe Schwinn Date: Mon, 1 Jul 2024 16:54:56 -0300 Subject: [PATCH] Definido tipo correto de dado 2 --- src/Signer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Signer.php b/src/Signer.php index 1558c1d..a49a36f 100755 --- a/src/Signer.php +++ b/src/Signer.php @@ -305,6 +305,7 @@ public static function digestCheck($xml, $tagname = '', $canonical = self::CANON $xpath = new \DOMXPath($dom); /** @var \DOMNodeList $entries */ $entries = $xpath->query('//@Id'); + /** @var \DOMAttr $entry */ foreach ($entries as $entry) { $tagname = $entry->ownerElement->nodeName; break;