Skip to content

Commit f470290

Browse files
committed
Remove dead statement
1 parent afc793b commit f470290

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/XML/SignableElementTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ private function toSignedXML(XMLSecurityKey $signingKey, array $certificates, DO
3434

3535
if ($insertBefore !== null) {
3636
XMLSecurityUtils::insertSignature($signingKey, $certificates, $root, $insertBefore);
37-
$doc = clone $root->ownerDocument;
3837
} else {
3938
$signature = new Signature($signingKey->getAlgorithm(), $certificates, $signingKey);
4039
$signature->toXML($root);

0 commit comments

Comments
 (0)