[Tools] renamed AS to as in EntityGenerator class.
This commit is contained in:
parent
68806aa8c6
commit
505537d4ce
@ -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();';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user