Drop {@inheritDoc}

Those are unnecessary and actually against the spec.
This commit is contained in:
Nikita Popov 2015-06-12 20:37:43 +02:00
parent db3dafd64d
commit 583b560f71

View File

@ -63,23 +63,14 @@ abstract class NodeAbstract implements Node
return $lastComment;
}
/**
* {@inheritDoc}
*/
public function setAttribute($key, $value) {
$this->attributes[$key] = $value;
}
/**
* {@inheritDoc}
*/
public function hasAttribute($key) {
return array_key_exists($key, $this->attributes);
}
/**
* {@inheritDoc}
*/
public function &getAttribute($key, $default = null) {
if (!array_key_exists($key, $this->attributes)) {
return $default;
@ -88,9 +79,6 @@ abstract class NodeAbstract implements Node
}
}
/**
* {@inheritDoc}
*/
public function getAttributes() {
return $this->attributes;
}