1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +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:
vrana 2012-04-04 12:46:42 -07:00
parent bd7dc8abaa
commit a5f0323d5c

View file

@ -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) {