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