Skip to content

Commit

Permalink
Make reset() private
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Dec 19, 2019
1 parent 46af79f commit c739df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dom/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit c739df0

Please sign in to comment.