Skip to content

Commit f60dfe9

Browse files
committed
Improve error handling of node list validator
1 parent b6dc2f7 commit f60dfe9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Classes/Validation/Common/NodeListValidator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public function __construct(DOMXPath $xpath, Result $result, string $expression,
7575
if ($this->contextNode) {
7676
$errorMessage .= sprintf(' under "%s"', $this->contextNode->getNodePath());
7777
}
78-
// codacy-disable-next-line
7978
throw new Exception($errorMessage, $e->getCode(), $e);
8079
}
8180

0 commit comments

Comments
 (0)