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