diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2444c6f..3113d63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: extensions: mbstring, intl, mysql, zlib, dom, openssl, soap, json, simplexml, libxml - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Composer Install run: | diff --git a/src/Signer.php b/src/Signer.php index d6b4e44..4cb5dc1 100755 --- a/src/Signer.php +++ b/src/Signer.php @@ -286,6 +286,7 @@ public static function digestCheck($xml, $tagname = '', $canonical = self::CANON } else { $xpath = new \DOMXPath($dom); $entries = $xpath->query('//@Id'); + /** @var \DOMAttr $entry */ foreach ($entries as $entry) { $tagname = $entry->ownerElement->nodeName; break;