Make WordPress Core


Ignore:
Timestamp:
10/10/2020 08:00:30 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/Text/Diff.php

    r32990 r49120  
    7676     * @since Text_Diff 1.1.0
    7777     *
    78      * @return integer The number of new lines
     78     * @return int The number of new lines
    7979     */
    8080    function countAddedLines()
     
    9595     * @since Text_Diff 1.1.0
    9696     *
    97      * @return integer The number of deleted lines
     97     * @return int The number of deleted lines
    9898     */
    9999    function countDeletedLines()
     
    140140     * Checks for an empty diff.
    141141     *
    142      * @return boolean True if two sequences were identical.
     142     * @return bool True if two sequences were identical.
    143143     */
    144144    function isEmpty()
     
    157157     * This is mostly for diagnostic purposes.
    158158     *
    159      * @return integer The length of the LCS.
     159     * @return int The length of the LCS.
    160160     */
    161161    function lcs()
     
    211211     *
    212212     * @param string $line  The line to trim.
    213      * @param integer $key  The index of the line in the array. Not used.
     213     * @param int    $key   The index of the line in the array. Not used.
    214214     */
    215215    static function trimNewlines(&$line, $key)
Note: See TracChangeset for help on using the changeset viewer.