diff --git a/src/Composer/DependencyResolver/Solver.php b/src/Composer/DependencyResolver/Solver.php index ff7e736df..f9dc9cbc0 100644 --- a/src/Composer/DependencyResolver/Solver.php +++ b/src/Composer/DependencyResolver/Solver.php @@ -758,7 +758,7 @@ class Solver } if ($lastLiteral) { - $this->branches[$lastBranchIndex][$lastBranchOffset] = null; + $this->branches[$lastBranchIndex][$lastBranchOffset] = array(); $minimizationSteps++; $level = $lastLevel;