From 8369624c49e97b75996d4c78a90b057058b69c26 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 16 Aug 2013 16:44:24 +0200 Subject: [PATCH] Correctly set watch2 on rule watch nodes for learned rules fixes #2181 --- src/Composer/DependencyResolver/RuleWatchNode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/DependencyResolver/RuleWatchNode.php b/src/Composer/DependencyResolver/RuleWatchNode.php index 0f1e5c08b..a08337f5e 100644 --- a/src/Composer/DependencyResolver/RuleWatchNode.php +++ b/src/Composer/DependencyResolver/RuleWatchNode.php @@ -64,7 +64,7 @@ class RuleWatchNode $level = $decisions->decisionLevel($literal); if ($level > $watchLevel) { - $this->rule->watch2 = $literal; + $this->watch2 = $literal; $watchLevel = $level; } }