Code Duplication    Length = 5-5 lines in 2 locations

lib/Doctrine/ORM/Mapping/Exporter/ClassMetadataExporter.php 2 locations

@@ 140-144 (lines=5) @@
137
            $lines[] = $objectReference . '->setInheritanceType(Mapping\InheritanceType::' . strtoupper($metadata->inheritanceType) . ');';
138
        }
139
140
        if ($metadata->discriminatorColumn) {
141
            $lines[] = null;
142
            $lines[] = $bodyIndentation . '// Discriminator mapping';
143
            $lines[] = $this->exportDiscriminatorMetadata($metadata, $indentationLevel + 1);
144
        }
145
146
        return implode(PHP_EOL, $lines);
147
    }
@@ 160-164 (lines=5) @@
157
        $bodyIndentation = str_repeat(self::INDENTATION, $indentationLevel + 1);
158
        $lines           = [];
159
160
        if ($metadata->table) {
161
            $lines[] = null;
162
            $lines[] = $bodyIndentation . '// Table';
163
            $lines[] = $this->exportTableMetadata($metadata->table, $indentationLevel + 1);
164
        }
165
166
        return implode(PHP_EOL, $lines);
167
    }