From: vrana Date: Wed, 4 Apr 2012 19:46:42 +0000 (-0700) Subject: Return $this from didApplyPatch() shortcut X-Git-Tag: conduit-4~63 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a5f0323d5cf605ac6f09f2b843669e1abf4e1567;p=arcanist.git 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 --- diff --git a/src/lint/message/ArcanistLintMessage.php b/src/lint/message/ArcanistLintMessage.php index a5242051..bd25f101 100644 --- a/src/lint/message/ArcanistLintMessage.php +++ b/src/lint/message/ArcanistLintMessage.php @@ -164,7 +164,7 @@ final class ArcanistLintMessage { public function didApplyPatch() { if ($this->appliedToDisk) { - return; + return $this; } $this->appliedToDisk = true; foreach ($this->dependentMessages as $message) {