Code Duplication    Length = 9-9 lines in 2 locations

src/OroCRM/Bundle/SalesBundle/Migrations/Schema/v1_22/UpdateReportQuery.php 2 locations

@@ 127-135 (lines=9) @@
124
                }
125
            }
126
        }
127
        if (isset($def['filters'])) {
128
            foreach ($def['filters'] as $key => $field) {
129
                if (isset($field['columnName'])) {
130
                    $def = $this->processFilterDefinition($def, $row, $className, $oldField, $newField, $field, $key);
131
                    $def = $this->fixFilterCriterion($def, $field, $key);
132
                    $this->updateSegment($logger, $dryRun, $def, $row);
133
                }
134
            }
135
        }
136
    }
137
138
    /**
@@ 162-170 (lines=9) @@
159
                }
160
            }
161
        }
162
        if (isset($def['filters'])) {
163
            foreach ($def['filters'] as $key => $field) {
164
                if (isset($field['columnName'])) {
165
                    $def = $this->processFilterDefinition($def, $row, $className, $oldField, $newField, $field, $key);
166
                    $def = $this->fixFilterCriterion($def, $field, $key);
167
                    $this->updateReport($logger, $dryRun, $def, $row);
168
                }
169
            }
170
        }
171
    }
172
173
    /**