Overrides ObjectComparator::accepts
public function accepts(mixed $expected, mixed $actual) : bool { return $expected instanceof DOMNode && $actual instanceof DOMNode; }