1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 08:12: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:
Joshua Spence 2014-10-08 00:07:39 +11:00
parent e54725ec89
commit a0cb484db4

View file

@ -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;
}