/**
* Retrieves the contents of the named attribute of the current element.
- * @param string $attr the name of the attribute
- * @return string the value of the attribute or an empty string if it is not set in the current element.
+ * @param string $attr The name of the attribute
+ * @return string The value of the attribute or an empty string if it is not set in the current element.
*/
public function nodeAttribute( $attr ) {
return $this->reader->getAttribute( $attr );
private function handleSiteInfo() {
// Site info is useful, but not actually used for dump imports.
// Includes a quick short-circuit to save performance.
- if ( ! $this->mSiteInfoCallback ) {
+ if ( !$this->mSiteInfoCallback ) {
$this->reader->next();
return true;
}