Collection inteface instead of ArrayCollection
This commit is contained in:
parent
be3adfb35e
commit
596ba3d5b1
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue