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