WordPress.org

Make WordPress Core

Changeset 42151


Ignore:
Timestamp:
11/10/2017 10:56:01 PM (7 months ago)
Author:
johnbillion
Message:

Docs: Correct parameter type documentation for various __call() methods.

See #42505

Location:
trunk/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r41161 r42151  
    216216     * @since 4.0.0
    217217     *
    218      * @param callable $name      Method to call.
     218     * @param string  $name      Method to call.
    219219     * @param array    $arguments Arguments to pass when calling.
    220220     * @return mixed|bool Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-oembed.php

    r41681 r42151  
    230230     * @since 4.0.0
    231231     *
    232      * @param callable $name      Method to call.
     232     * @param string  $name      Method to call.
    233233     * @param array    $arguments Arguments to pass when calling.
    234234     * @return mixed|bool Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-wp-comment-query.php

    r41686 r42151  
    119119     * @since 4.0.0
    120120     *
    121      * @param callable $name      Method to call.
     121     * @param string  $name      Method to call.
    122122     * @param array    $arguments Arguments to pass when calling.
    123123     * @return mixed|false Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-wp-query.php

    r41688 r42151  
    33633363     * @since 4.0.0
    33643364     *
    3365      * @param callable $name      Method to call.
     3365     * @param string  $name      Method to call.
    33663366     * @param array    $arguments Arguments to pass when calling.
    33673367     * @return mixed|false Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-wp-roles.php

    r41625 r42151  
    9696     * @since 4.0.0
    9797     *
    98      * @param callable $name      Method to call.
     98     * @param string  $name      Method to call.
    9999     * @param array    $arguments Arguments to pass when calling.
    100100     * @return mixed|false Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-wp-user-query.php

    r41162 r42151  
    848848     * @since 4.0.0
    849849     *
    850      * @param callable $name      Method to call.
     850     * @param string  $name      Method to call.
    851851     * @param array    $arguments Arguments to pass when calling.
    852852     * @return mixed Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-wp-user.php

    r41624 r42151  
    422422     * @since 4.3.0
    423423     *
    424      * @param callable $name      Method to call.
     424     * @param string  $name      Method to call.
    425425     * @param array    $arguments Arguments to pass when calling.
    426426     * @return mixed|false Return value of the callback, false otherwise.
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r41980 r42151  
    172172     * @since 4.0.0
    173173     *
    174      * @param callable $name      Method to call.
     174     * @param string  $name      Method to call.
    175175     * @param array    $arguments Arguments to pass when calling.
    176176     * @return array|IXR_Error|false Return value of the callback, false otherwise.
Note: See TracChangeset for help on using the changeset viewer.