Make WordPress Core


Ignore:
Timestamp:
07/23/2020 07:37:57 AM (5 years ago)
Author:
johnbillion
Message:

Docs: Further corrections and improvements to various inline docblocks.

See #49572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-text-diff-renderer-table.php

    r47550 r48576  
    338338     * @param array $final Lines of the final version of the text.
    339339     * @return array {
    340      *    Array containing results of comparing the original text to the final text.
    341      *
    342      *    @type array $orig_matches  Associative array of original matches. Index == row
    343      *                               number of `$orig`, value == corresponding row number
    344      *                               of that same line in `$final` or 'x' if there is no
    345      *                               corresponding row (indicating it is a deleted line).
    346      *    @type array $final_matches Associative array of final matches. Index == row
    347      *                               number of `$final`, value == corresponding row number
    348      *                               of that same line in `$orig` or 'x' if there is no
    349      *                               corresponding row (indicating it is a new line).
    350      *    @type array $orig_rows     Associative array of interleaved rows of `$orig` with
    351      *                               blanks to keep matches aligned with side-by-side diff
    352      *                               of `$final`. A value >= 0 corresponds to index of `$orig`.
    353      *                               Value < 0 indicates a blank row.
    354      *    @type array $final_rows    Associative array of interleaved rows of `$final` with
    355      *                               blanks to keep matches aligned with side-by-side diff
    356      *                               of `$orig`. A value >= 0 corresponds to index of `$final`.
    357      *                               Value < 0 indicates a blank row.
     340     *     Array containing results of comparing the original text to the final text.
     341     *
     342     *     @type array $orig_matches  Associative array of original matches. Index == row
     343     *                                number of `$orig`, value == corresponding row number
     344     *                                of that same line in `$final` or 'x' if there is no
     345     *                                corresponding row (indicating it is a deleted line).
     346     *     @type array $final_matches Associative array of final matches. Index == row
     347     *                                number of `$final`, value == corresponding row number
     348     *                                of that same line in `$orig` or 'x' if there is no
     349     *                                corresponding row (indicating it is a new line).
     350     *     @type array $orig_rows     Associative array of interleaved rows of `$orig` with
     351     *                                blanks to keep matches aligned with side-by-side diff
     352     *                                of `$final`. A value >= 0 corresponds to index of `$orig`.
     353     *                                Value < 0 indicates a blank row.
     354     *     @type array $final_rows    Associative array of interleaved rows of `$final` with
     355     *                                blanks to keep matches aligned with side-by-side diff
     356     *                                of `$orig`. A value >= 0 corresponds to index of `$final`.
     357     *                                Value < 0 indicates a blank row.
    358358     * }
    359359     */
Note: See TracChangeset for help on using the changeset viewer.