From c739df0b1a66862f0d07754157738873f9091187 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Thu, 19 Dec 2019 15:33:03 +0100 Subject: [PATCH] Make reset() private --- src/Dom/Document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dom/Document.php b/src/Dom/Document.php index 6e745f20329..b1d9569a933 100644 --- a/src/Dom/Document.php +++ b/src/Dom/Document.php @@ -286,7 +286,7 @@ public static function from_node( DOMNode &$node ) { * * @return self Reset version of the Document object. */ - public function reset() { + private function reset() { // Drop references to old DOM document. unset( $this->xpath, $this->head, $this->body );