Fix the exception "Invalid argument supplied for foreach()" when the install command is launched multiple times.
@@ -25,6 +25,7 @@ class Request
public function __construct(Pool $pool)
{
$this->pool = $pool;
+ $this->jobs = array();
}
public function install($packageName, LinkConstraintInterface $constraint = null)