From 596ba3d5b1e32f685f77e116524c83621573edb8 Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Wed, 19 Oct 2011 15:04:16 +0200 Subject: [PATCH] Collection inteface instead of ArrayCollection --- lib/Doctrine/ORM/Tools/EntityGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index a3a27892c..7de6bdaea 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -808,7 +808,7 @@ public function () $lines[] = $this->_spaces . '/**'; if ($associationMapping['type'] & ClassMetadataInfo::TO_MANY) { - $lines[] = $this->_spaces . ' * @var \Doctrine\Common\Collections\ArrayCollection'; + $lines[] = $this->_spaces . ' * @var \Doctrine\Common\Collections\Collection'; }else{ $lines[] = $this->_spaces . ' * @var ' . $associationMapping['targetEntity']; }