@@ 208-214 (lines=7) @@ | ||
205 | * @param array $appliedRowSpans |
|
206 | * @param bool $forceExpansion |
|
207 | */ |
|
208 | protected function processInsertOperation( |
|
209 | Operation $operation, |
|
210 | $newRows, |
|
211 | &$appliedRowSpans, |
|
212 | $forceExpansion = false |
|
213 | ) { |
|
214 | $targetRows = array_slice($newRows, $operation->startInNew, $operation->endInNew - $operation->startInNew); |
|
215 | foreach ($targetRows as $row) { |
|
216 | $this->diffAndAppendRows(null, $row, $appliedRowSpans, $forceExpansion); |
|
217 | } |
|
@@ 226-232 (lines=7) @@ | ||
223 | * @param array $appliedRowSpans |
|
224 | * @param bool $forceExpansion |
|
225 | */ |
|
226 | protected function processDeleteOperation( |
|
227 | Operation $operation, |
|
228 | $oldRows, |
|
229 | &$appliedRowSpans, |
|
230 | $forceExpansion = false |
|
231 | ) { |
|
232 | $targetRows = array_slice($oldRows, $operation->startInOld, $operation->endInOld - $operation->startInOld); |
|
233 | foreach ($targetRows as $row) { |
|
234 | $this->diffAndAppendRows($row, null, $appliedRowSpans, $forceExpansion); |
|
235 | } |