]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Return $this from didApplyPatch() shortcut
authorvrana <jakubv@fb.com>
Wed, 4 Apr 2012 19:46:42 +0000 (12:46 -0700)
committervrana <jakubv@fb.com>
Wed, 4 Apr 2012 22:11:52 +0000 (15:11 -0700)
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

index a5242051fc8c92359858b9a7d0b9de060b7838e2..bd25f1015b614f4eac2fe44007a6b2d75696618d 100644 (file)
@@ -164,7 +164,7 @@ final class ArcanistLintMessage {
 
   public function didApplyPatch() {
     if ($this->appliedToDisk) {
-      return;
+      return $this;
     }
     $this->appliedToDisk = true;
     foreach ($this->dependentMessages as $message) {