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/class-wp-simplepie-file.php

    r47122 r49120  
    2424         *
    2525         * @param string       $url             Remote file URL.
    26          * @param integer      $timeout         Optional. How long the connection should stay open in seconds.
     26         * @param int          $timeout         Optional. How long the connection should stay open in seconds.
    2727         *                                      Default 10.
    28          * @param integer      $redirects       Optional. The number of allowed redirects. Default 5.
     28         * @param int          $redirects       Optional. The number of allowed redirects. Default 5.
    2929         * @param string|array $headers         Optional. Array or string of headers to send with the request.
    3030         *                                      Default null.
    3131         * @param string       $useragent       Optional. User-agent value sent. Default null.
    32          * @param boolean      $force_fsockopen Optional. Whether to force opening internet or unix domain socket
     32         * @param bool         $force_fsockopen Optional. Whether to force opening internet or unix domain socket
    3333         *                                      connection or not. Default false.
    3434         */
Note: See TracChangeset for help on using the changeset viewer.