Fix Exception in Request
Fix the exception "Invalid argument supplied for foreach()" when the install command is launched multiple times.pull/77/head
parent
72f69e6109
commit
72bfe8b92c
|
@ -25,6 +25,7 @@ class Request
|
||||||
public function __construct(Pool $pool)
|
public function __construct(Pool $pool)
|
||||||
{
|
{
|
||||||
$this->pool = $pool;
|
$this->pool = $pool;
|
||||||
|
$this->jobs = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function install($packageName, LinkConstraintInterface $constraint = null)
|
public function install($packageName, LinkConstraintInterface $constraint = null)
|
||||||
|
|
Loading…
Reference in New Issue