Просмотр исходного кода

Initialize the correct collection

Jordi Boggiano 13 лет назад
Родитель
Сommit
2d25ad8794
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Packagist/WebBundle/Entity/Version.php

+ 1 - 1
src/Packagist/WebBundle/Entity/Version.php

@@ -188,7 +188,7 @@ class Version
         $this->replace = new \Doctrine\Common\Collections\ArrayCollection();
         $this->conflict = new \Doctrine\Common\Collections\ArrayCollection();
         $this->provide = new \Doctrine\Common\Collections\ArrayCollection();
-        $this->recommend = new \Doctrine\Common\Collections\ArrayCollection();
+        $this->devRequire = new \Doctrine\Common\Collections\ArrayCollection();
         $this->suggest = new \Doctrine\Common\Collections\ArrayCollection();
         $this->authors = new \Doctrine\Common\Collections\ArrayCollection();
         $this->createdAt = new \DateTime;