File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ protected function renderTableReplace(array $change): string
214214 $ oldLineNum = $ change ['old ' ]['offset ' ] + $ no + 1 ;
215215
216216 if (isset ($ change ['new ' ]['lines ' ][$ no ])) {
217- $ newLineNum = $ change ['old ' ]['offset ' ] + $ no + 1 ;
217+ $ newLineNum = $ change ['new ' ]['offset ' ] + $ no + 1 ;
218218 $ newLine = '<span> ' . $ change ['new ' ]['lines ' ][$ no ] . '</span> ' ;
219219 } else {
220220 $ newLineNum = null ;
@@ -225,7 +225,7 @@ protected function renderTableReplace(array $change): string
225225 '<tr> ' .
226226 $ this ->renderLineNumberColumn ('old ' , $ oldLineNum ) .
227227 '<td class="old"><span> ' . $ oldLine . '</span></td> ' .
228- $ this ->renderLineNumberColumn ('new ' , $ oldLineNum ) .
228+ $ this ->renderLineNumberColumn ('new ' , $ newLineNum ) .
229229 '<td class="new"> ' . $ newLine . '</td> ' .
230230 '</tr> ' ;
231231 }
You can’t perform that action at this time.
0 commit comments