We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc793b commit f470290Copy full SHA for f470290
1 file changed
src/XML/SignableElementTrait.php
@@ -34,7 +34,6 @@ private function toSignedXML(XMLSecurityKey $signingKey, array $certificates, DO
34
35
if ($insertBefore !== null) {
36
XMLSecurityUtils::insertSignature($signingKey, $certificates, $root, $insertBefore);
37
- $doc = clone $root->ownerDocument;
38
} else {
39
$signature = new Signature($signingKey->getAlgorithm(), $certificates, $signingKey);
40
$signature->toXML($root);
0 commit comments