1
0
mirror of synced 2024-12-14 15:16:04 +03:00

[Tools] renamed AS to as in EntityGenerator class.

This commit is contained in:
Hugo Hamon 2012-01-12 20:03:31 +01:00 committed by Benjamin Eberlei
parent 68806aa8c6
commit 505537d4ce

View File

@ -430,7 +430,7 @@ public function <methodName>()
$collections = array();
foreach ($metadata->associationMappings AS $mapping) {
foreach ($metadata->associationMappings as $mapping) {
if ($mapping['type'] & ClassMetadataInfo::TO_MANY) {
$collections[] = '$this->'.$mapping['fieldName'].' = new \Doctrine\Common\Collections\ArrayCollection();';
}