Make WordPress Core


Ignore:
Timestamp:
06/28/2020 11:47:45 AM (19 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for optional parameters per the documentation standards.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-http-encoding.php

    r48067 r48197  
    2424     * @since 2.8.0
    2525     *
    26      * @param string $raw String to compress.
    27      * @param int $level Optional, default is 9. Compression level, 9 is highest.
    28      * @param string $supports Optional, not used. When implemented it will choose the right compression based on what the server supports.
     26     * @param string $raw      String to compress.
     27     * @param int    $level    Optional. Compression level, 9 is highest. Default 9.
     28     * @param string $supports Optional, not used. When implemented it will choose
     29     *                         the right compression based on what the server supports.
    2930     * @return string|false False on failure.
    3031     */
     
    4445     *
    4546     * @param string $compressed String to decompress.
    46      * @param int $length The optional length of the compressed data.
     47     * @param int    $length    The optional length of the compressed data.
    4748     * @return string|bool False on failure.
    4849     */
Note: See TracChangeset for help on using the changeset viewer.