Skip to content
Snippets Groups Projects
Commit 7d89ba82 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix incorrect method call

parent a3fd8ce3
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,7 @@ class Signer
*/
public function sign(DOMElement $node, DOMElement $insertInto, $insertBefore = null): void
{
Assert::nullOrInstanceOfAny($insertBefore, [DOMElement::class, DOMComment::class, DOMText::class]);
Assert::nullOrIsInstanceOfAny($insertBefore, [DOMElement::class, DOMComment::class, DOMText::class]);
$privateKey = $this->privateKey;
if ($privateKey === false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment