mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Return $this from didApplyPatch() shortcut
Test Plan: https://secure.phabricator.com/diffusion/ARC/browse/master/src/lint/patcher/ArcanistLintPatcher.php;bd7dc8abaa7bb4c0$75?view=blame Reviewers: epriestley, jungejason Reviewed By: jungejason CC: aran Differential Revision: https://secure.phabricator.com/D2101
This commit is contained in:
parent
bd7dc8abaa
commit
a5f0323d5c
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ final class ArcanistLintMessage {
|
||||||
|
|
||||||
public function didApplyPatch() {
|
public function didApplyPatch() {
|
||||||
if ($this->appliedToDisk) {
|
if ($this->appliedToDisk) {
|
||||||
return;
|
return $this;
|
||||||
}
|
}
|
||||||
$this->appliedToDisk = true;
|
$this->appliedToDisk = true;
|
||||||
foreach ($this->dependentMessages as $message) {
|
foreach ($this->dependentMessages as $message) {
|
||||||
|
|
Loading…
Reference in a new issue