app/Report/ReportParserBase.php
protected function endElement($parser, string $name): void
    {
        $method = $name . 'EndHandler';

        if (method_exists($this, $method)) {
            $this->$method();
        }
    }
protected function endElement($parser, string $name): void
    {
        $method = $name . 'EndHandler';

        if (method_exists($this, $method)) {
            $this->$method();
        }
    }
protected function endElement ( $ parser , string $ name ) : void { $ method = $ name . 'EndHandler' ; if ( method_exists ( $ this , $ method ) ) { $ this -> $ method ( ) ; } }
XML handler for a closing tag.

@param resource $parser the resource handler for the xml parser
@param string   $name   the name of the xml element parsed

@return void
XML handler for a closing tag .