$xml = $this->open();
$this->callback = $callback;
- while ( $xml->name !== 'repertoire' && $xml->next() );
+ while ( $xml->name !== 'repertoire' && $xml->next() ) ;
while ( $xml->read() ) {
if ( $xml->nodeType == XMLReader::ELEMENT ) {
if ( !$this->xml ) {
throw new MWException( __METHOD__ . ": unable to open {$this->fileName}" );
}
- while ( $this->xml->name !== 'ucd' && $this->xml->read() );
+ while ( $this->xml->name !== 'ucd' && $this->xml->read() ) ;
$this->xml->read();
return $this->xml;
}
$xml = $this->open();
- while ( $xml->name !== 'blocks' && $xml->read() );
+ while ( $xml->name !== 'blocks' && $xml->read() ) ;
while ( $xml->read() ) {
if ( $xml->nodeType == XMLReader::ELEMENT ) {