Add comment to TableDiffFormatter::blockHeader
magic strings should have a comment Change-Id: I23fc7a4de31e22383f0a6ffd1db56717615cfa0c
This commit is contained in:
parent
040060e2b7
commit
c249dfc291
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ class TableDiffFormatter extends DiffFormatter {
|
|||
* @return string
|
||||
*/
|
||||
protected function blockHeader( $xbeg, $xlen, $ybeg, $ylen ) {
|
||||
// '<!--LINE \d+ -->' get replaced by a localised line number
|
||||
// in DifferenceEngine::localiseLineNumbers
|
||||
$r = '<tr><td colspan="2" class="diff-lineno"><!--LINE ' . $xbeg . "--></td>\n" .
|
||||
'<td colspan="2" class="diff-lineno"><!--LINE ' . $ybeg . "--></td></tr>\n";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue