Преглед изворни кода

Merge pull request #77 from benja-M-1/master

Fix the exception "Invalid argument supplied for foreach()"
Nils Adermann пре 13 година
родитељ
комит
5bd1722d7e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/Composer/DependencyResolver/Request.php

+ 1 - 0
src/Composer/DependencyResolver/Request.php

@@ -25,6 +25,7 @@ class Request
     public function __construct(Pool $pool)
     {
         $this->pool = $pool;
+        $this->jobs = array();
     }
 
     public function install($packageName, LinkConstraintInterface $constraint = null)