WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2017 10:13:04 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Standardise the format used for documenting parameters passed by reference.

See #35974, #41017

File:
1 edited

Legend:

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

    r41162 r41688  
    113113 * @param bool        $force  Optional. Whether to force an update of the local cache from the persistent
    114114 *                            cache. Default false.
    115  * @param bool        $found  Optional. Whether the key was found in the cache. Disambiguates a return of false,
    116  *                            a storable value. Passed by reference. Default null.
     115 * @param bool        $found  Optional. Whether the key was found in the cache (passed by reference).
     116 *                            Disambiguates a return of false, a storable value. Default null.
    117117 * @return bool|mixed False on failure to retrieve contents or the cache
    118118 *                    contents on success
     
    517517     * @param string     $force  Optional. Unused. Whether to force a refetch rather than relying on the local
    518518     *                           cache. Default false.
    519      * @param bool       $found  Optional. Whether the key was found in the cache. Disambiguates a return of
    520      *                           false, a storable value. Passed by reference. Default null.
     519     * @param bool        $found  Optional. Whether the key was found in the cache (passed by reference).
     520     *                            Disambiguates a return of false, a storable value. Default null.
    521521     * @return false|mixed False on failure to retrieve contents or the cache contents on success.
    522522     */
Note: See TracChangeset for help on using the changeset viewer.