mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-27 17:20:12 +00:00
Remove unused LintError::equals()
Change-Id: I0d0d743119fee8a95627c365e1b2f45b8fcf67e7
This commit is contained in:
parent
3a03781a70
commit
a50398d4ce
|
@ -70,16 +70,6 @@ class LintError {
|
||||||
? $params['templateInfo'] : null;
|
? $params['templateInfo'] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param LintError $other
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function equals( LintError $other ) {
|
|
||||||
return $this->category === $other->category
|
|
||||||
&& $this->params === $other->params
|
|
||||||
&& $this->location === $other->location;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unique id to identify this error, for internal
|
* Unique id to identify this error, for internal
|
||||||
* purposes
|
* purposes
|
||||||
|
|
Loading…
Reference in a new issue