From a5f0323d5cf605ac6f09f2b843669e1abf4e1567 Mon Sep 17 00:00:00 2001 From: vrana Date: Wed, 4 Apr 2012 12:46:42 -0700 Subject: [PATCH] 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 --- src/lint/message/ArcanistLintMessage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {