1
0
mirror of synced 2024-12-13 14:56:01 +03:00

[Tools] removed unused local variable in YamlExporter class.

This commit is contained in:
Hugo Hamon 2012-01-12 20:05:56 +01:00 committed by Benjamin Eberlei
parent 505537d4ce
commit ffa372a76c

View File

@ -115,7 +115,7 @@ class YamlExporter extends AbstractExporter
}
if ($idGeneratorType = $this->_getIdGeneratorTypeString($metadata->generatorType)) {
$ids[$metadata->getSingleIdentifierFieldName()]['generator']['strategy'] = $this->_getIdGeneratorTypeString($metadata->generatorType);
$ids[$metadata->getSingleIdentifierFieldName()]['generator']['strategy'] = $idGeneratorType;
}
if ($ids) {
@ -129,7 +129,6 @@ class YamlExporter extends AbstractExporter
$array['fields'] = array_merge($array['fields'], $fieldMappings);
}
$associations = array();
foreach ($metadata->associationMappings as $name => $associationMapping) {
$cascade = array();
if ($associationMapping['isCascadeRemove']) {