Code Duplication    Length = 4-4 lines in 2 locations

src/Oro/Bundle/EntityExtendBundle/Tools/ExtendConfigDumper.php 2 locations

@@ 213-216 (lines=4) @@
210
                    $inheritClassName = get_parent_class($parentClassName);
211
212
                    $hasSchemaChanges = false;
213
                    if (!isset($schema['parent']) || $schema['parent'] !== $parentClassName) {
214
                        $hasSchemaChanges = true;
215
                        $schema['parent'] = $parentClassName;
216
                    }
217
                    if (!isset($schema['inherit']) || $schema['inherit'] !== $inheritClassName) {
218
                        $hasSchemaChanges  = true;
219
                        $schema['inherit'] = $inheritClassName;
@@ 217-220 (lines=4) @@
214
                        $hasSchemaChanges = true;
215
                        $schema['parent'] = $parentClassName;
216
                    }
217
                    if (!isset($schema['inherit']) || $schema['inherit'] !== $inheritClassName) {
218
                        $hasSchemaChanges  = true;
219
                        $schema['inherit'] = $inheritClassName;
220
                    }
221
222
                    if ($hasSchemaChanges) {
223
                        $hasChanges = true;