mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Further corrections and improvements to various inline docblocks.
See #49572 git-svn-id: https://develop.svn.wordpress.org/trunk@48576 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -337,24 +337,24 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
* @param array $orig Lines of the original version of the text.
|
||||
* @param array $final Lines of the final version of the text.
|
||||
* @return array {
|
||||
* Array containing results of comparing the original text to the final text.
|
||||
* Array containing results of comparing the original text to the final text.
|
||||
*
|
||||
* @type array $orig_matches Associative array of original matches. Index == row
|
||||
* number of `$orig`, value == corresponding row number
|
||||
* of that same line in `$final` or 'x' if there is no
|
||||
* corresponding row (indicating it is a deleted line).
|
||||
* @type array $final_matches Associative array of final matches. Index == row
|
||||
* number of `$final`, value == corresponding row number
|
||||
* of that same line in `$orig` or 'x' if there is no
|
||||
* corresponding row (indicating it is a new line).
|
||||
* @type array $orig_rows Associative array of interleaved rows of `$orig` with
|
||||
* blanks to keep matches aligned with side-by-side diff
|
||||
* of `$final`. A value >= 0 corresponds to index of `$orig`.
|
||||
* Value < 0 indicates a blank row.
|
||||
* @type array $final_rows Associative array of interleaved rows of `$final` with
|
||||
* blanks to keep matches aligned with side-by-side diff
|
||||
* of `$orig`. A value >= 0 corresponds to index of `$final`.
|
||||
* Value < 0 indicates a blank row.
|
||||
* @type array $orig_matches Associative array of original matches. Index == row
|
||||
* number of `$orig`, value == corresponding row number
|
||||
* of that same line in `$final` or 'x' if there is no
|
||||
* corresponding row (indicating it is a deleted line).
|
||||
* @type array $final_matches Associative array of final matches. Index == row
|
||||
* number of `$final`, value == corresponding row number
|
||||
* of that same line in `$orig` or 'x' if there is no
|
||||
* corresponding row (indicating it is a new line).
|
||||
* @type array $orig_rows Associative array of interleaved rows of `$orig` with
|
||||
* blanks to keep matches aligned with side-by-side diff
|
||||
* of `$final`. A value >= 0 corresponds to index of `$orig`.
|
||||
* Value < 0 indicates a blank row.
|
||||
* @type array $final_rows Associative array of interleaved rows of `$final` with
|
||||
* blanks to keep matches aligned with side-by-side diff
|
||||
* of `$orig`. A value >= 0 corresponds to index of `$final`.
|
||||
* Value < 0 indicates a blank row.
|
||||
* }
|
||||
*/
|
||||
public function interleave_changed_lines( $orig, $final ) {
|
||||
|
||||
Reference in New Issue
Block a user