Skip to content

Commit 9a85f3f

Browse files
committed
Ignoring argument type
1 parent 6bb8de9 commit 9a85f3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Document.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function remove(string $query): void
103103

104104
foreach ($nodes as $node) {
105105
if ($node->parentNode !== null) {
106-
$node->parentNode->removeChild($node);
106+
$node->parentNode->removeChild($node); // @phpstan-ignore argument.type
107107
}
108108
}
109109
}
@@ -149,7 +149,7 @@ public function select(string $query, ?array $attributes = null, ?DOMNode $conte
149149
if ($result === false) {
150150
$result = new \DOMNodeList();
151151
}
152-
return new QueryResult($result, $this->extractor);
152+
return new QueryResult($result, $this->extractor); // @phpstan-ignore argument.type
153153
}
154154

155155
/**

0 commit comments

Comments
 (0)