Browse Source

Initialize the correct collection

Jordi Boggiano 13 years ago
parent
commit
2d25ad8794
1 changed files with 1 additions and 1 deletions
  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;