Skip to content

Commit f91870b

Browse files
committed
Corrigindo testes automatizados
1 parent 32e23b0 commit f91870b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
extensions: mbstring, intl, mysql, zlib, dom, openssl, soap, json, simplexml, libxml
2727

2828
- name: checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Composer Install
3232
run: |

src/Signer.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
class Signer
3434
{
35-
const CANONICAL = [true,false,null,null];
35+
const CANONICAL = [true, false, null, null];
3636

3737
/**
3838
* Make Signature tag
@@ -286,6 +286,7 @@ public static function digestCheck($xml, $tagname = '', $canonical = self::CANON
286286
} else {
287287
$xpath = new \DOMXPath($dom);
288288
$entries = $xpath->query('//@Id');
289+
/** @var \DOMAttr $entry */
289290
foreach ($entries as $entry) {
290291
$tagname = $entry->ownerElement->nodeName;
291292
break;

0 commit comments

Comments
 (0)