@@ 227-233 (lines=7) @@ | ||
224 | * @param array $appliedRowSpans |
|
225 | * @param bool $forceExpansion |
|
226 | */ |
|
227 | protected function processInsertOperation( |
|
228 | Operation $operation, |
|
229 | $newRows, |
|
230 | &$appliedRowSpans, |
|
231 | $forceExpansion = false |
|
232 | ) { |
|
233 | $targetRows = array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew); |
|
234 | foreach ($targetRows as $row) { |
|
235 | $this->diffAndAppendRows(null, $row, $appliedRowSpans, $forceExpansion); |
|
236 | } |
|
@@ 245-251 (lines=7) @@ | ||
242 | * @param array $appliedRowSpans |
|
243 | * @param bool $forceExpansion |
|
244 | */ |
|
245 | protected function processDeleteOperation( |
|
246 | Operation $operation, |
|
247 | $oldRows, |
|
248 | &$appliedRowSpans, |
|
249 | $forceExpansion = false |
|
250 | ) { |
|
251 | $targetRows = array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld); |
|
252 | foreach ($targetRows as $row) { |
|
253 | $this->diffAndAppendRows($row, null, $appliedRowSpans, $forceExpansion); |
|
254 | } |