1
0
mirror of synced 2025-03-21 07:23:55 +03:00

Collection inteface instead of ArrayCollection

This commit is contained in:
Asmir Mustafic 2011-10-19 15:04:16 +02:00
parent be3adfb35e
commit 596ba3d5b1

View File

@ -808,7 +808,7 @@ public function <methodName>()
$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'];
}