Skip to content

Commit

Permalink
Rector
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Dec 7, 2024
1 parent 6d9b671 commit df94020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Source/AbstractXmlSourceIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ final public function rewind(): void
{
$this->parser = xml_parser_create();
xml_set_object($this->parser, $this);
xml_set_element_handler($this->parser, [$this, 'tagStart'], [$this, 'tagEnd']);
xml_set_character_data_handler($this->parser, [$this, 'tagContent']);
xml_set_element_handler($this->parser, $this->tagStart(...), $this->tagEnd(...));
xml_set_character_data_handler($this->parser, $this->tagContent(...));
xml_parser_set_option($this->parser, \XML_OPTION_CASE_FOLDING, 0);
xml_parser_set_option($this->parser, \XML_OPTION_SKIP_WHITE, 0);

Expand Down

0 comments on commit df94020

Please sign in to comment.