mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Return $this
from setter methods
Summary: Return `$this` from a bunch of setter methods for consistency. See also D13422. Test Plan: Eyeball it. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13423
This commit is contained in:
parent
04d788c79e
commit
5466451b76
4 changed files with 6 additions and 3 deletions
|
@ -13,6 +13,7 @@ final class ArcanistConfigurationManager extends Phobject {
|
|||
public function setWorkingCopyIdentity(
|
||||
ArcanistWorkingCopyIdentity $working_copy) {
|
||||
$this->workingCopy = $working_copy;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/* -( Get config )--------------------------------------------------------- */
|
||||
|
@ -243,6 +244,7 @@ final class ArcanistConfigurationManager extends Phobject {
|
|||
|
||||
$this->customArcrcFilename = $custom_arcrc;
|
||||
$this->userConfigCache = null;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUserConfigurationFileLocation() {
|
||||
|
|
|
@ -69,6 +69,7 @@ abstract class ArcanistXHPASTLinterRule extends Phobject {
|
|||
|
||||
final public function setLinter(ArcanistXHPASTLinter $linter) {
|
||||
$this->linter = $linter;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue