Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php 2 locations

@@ 308-310 (lines=3) @@
305
        foreach ($propertyMappings as $propertyName => $mapping) {
306
            $output[] = $this->formatField(sprintf('  %s', $propertyName), '');
307
308
            foreach ($mapping as $field => $value) {
309
                $output[] = $this->formatField(sprintf('    %s', $field), $this->formatValue($value));
310
            }
311
        }
312
313
        return $output;
@@ 335-337 (lines=3) @@
332
                $output = array_merge($output, $this->formatColumn($property));
333
            }  else if ($property instanceof AssociationMetadata) {
334
                // @todo guilhermeblanco Fix me! We are trying to iterate through an AssociationMetadata instance
335
                foreach ($property as $field => $value) {
336
                    $output[] = $this->formatField(sprintf('    %s', $field), $this->formatValue($value));
337
                }
338
339
            }
340
        }