Code Duplication    Length = 7-7 lines in 2 locations

lib/Caxy/HtmlDiff/Table/TableDiff.php 2 locations

@@ 179-185 (lines=7) @@
176
        }
177
    }
178
179
    protected function processInsertOperation(Operation $operation, $newRows, &$appliedRowSpans, $forceExpansion = false)
180
    {
181
        $targetRows = array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew);
182
        foreach ($targetRows as $row) {
183
            $this->diffAndAppendRows(null, $row, $appliedRowSpans, $forceExpansion);
184
        }
185
    }
186
187
    protected function processDeleteOperation(Operation $operation, $oldRows, &$appliedRowSpans, $forceExpansion = false)
188
    {
@@ 187-193 (lines=7) @@
184
        }
185
    }
186
187
    protected function processDeleteOperation(Operation $operation, $oldRows, &$appliedRowSpans, $forceExpansion = false)
188
    {
189
        $targetRows = array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld);
190
        foreach ($targetRows as $row) {
191
            $this->diffAndAppendRows($row, null, $appliedRowSpans, $forceExpansion);
192
        }
193
    }
194
195
    protected function processEqualOperation(Operation $operation, $oldRows, $newRows, &$appliedRowSpans)
196
    {