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; } }