@@ 237-243 (lines=7) @@ | ||
234 | * @param array $appliedRowSpans |
|
235 | * @param bool $forceExpansion |
|
236 | */ |
|
237 | protected function processInsertOperation( |
|
238 | Operation $operation, |
|
239 | $newRows, |
|
240 | &$appliedRowSpans, |
|
241 | $forceExpansion = false |
|
242 | ) { |
|
243 | $targetRows = array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew); |
|
244 | foreach ($targetRows as $row) { |
|
245 | $this->diffAndAppendRows(null, $row, $appliedRowSpans, $forceExpansion); |
|
246 | } |
|
@@ 255-261 (lines=7) @@ | ||
252 | * @param array $appliedRowSpans |
|
253 | * @param bool $forceExpansion |
|
254 | */ |
|
255 | protected function processDeleteOperation( |
|
256 | Operation $operation, |
|
257 | $oldRows, |
|
258 | &$appliedRowSpans, |
|
259 | $forceExpansion = false |
|
260 | ) { |
|
261 | $targetRows = array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld); |
|
262 | foreach ($targetRows as $row) { |
|
263 | $this->diffAndAppendRows($row, null, $appliedRowSpans, $forceExpansion); |
|
264 | } |