소스 검색

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)