@@ 262-268 (lines=7) @@ | ||
259 | * @param array $appliedRowSpans |
|
260 | * @param bool $forceExpansion |
|
261 | */ |
|
262 | protected function processInsertOperation( |
|
263 | Operation $operation, |
|
264 | $newRows, |
|
265 | &$appliedRowSpans, |
|
266 | $forceExpansion = false |
|
267 | ) { |
|
268 | $targetRows = array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew); |
|
269 | foreach ($targetRows as $row) { |
|
270 | $this->diffAndAppendRows(null, $row, $appliedRowSpans, $forceExpansion); |
|
271 | } |
|
@@ 280-286 (lines=7) @@ | ||
277 | * @param array $appliedRowSpans |
|
278 | * @param bool $forceExpansion |
|
279 | */ |
|
280 | protected function processDeleteOperation( |
|
281 | Operation $operation, |
|
282 | $oldRows, |
|
283 | &$appliedRowSpans, |
|
284 | $forceExpansion = false |
|
285 | ) { |
|
286 | $targetRows = array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld); |
|
287 | foreach ($targetRows as $row) { |
|
288 | $this->diffAndAppendRows($row, null, $appliedRowSpans, $forceExpansion); |
|
289 | } |