mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 00:42:40 +01:00
Mark some methods in ArcanistLinter
as final
Summary: Minor change, self-explanatory... this seems to make sense. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10476
This commit is contained in:
parent
e54725ec89
commit
a0cb484db4
1 changed files with 4 additions and 1 deletions
|
@ -73,12 +73,15 @@ abstract class ArcanistLinter {
|
|||
return 1.0;
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: This should be `final`.
|
||||
*/
|
||||
public function setCustomSeverityMap(array $map) {
|
||||
$this->customSeverityMap = $map;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setCustomSeverityRules(array $rules) {
|
||||
final public function setCustomSeverityRules(array $rules) {
|
||||
$this->customSeverityRules = $rules;
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue