Skip to:
Content

BuddyPress.org

Changeset 10424


Ignore:
Timestamp:
12/22/2015 05:40:21 AM (5 years ago)
Author:
tw2113
Message:

Scrutinizr feedback cleanup.

See #6400.

Location:
trunk/src/bp-friends
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-friends/bp-friends-template.php

    r10417 r10424  
    2525     *
    2626     * @since 1.5.0
     27     *
     28     * @return string
    2729     */
    2830    function bp_get_friends_slug() {
     
    5254     *
    5355     * @since 1.5.0
     56     *
     57     * @return string
    5458     */
    5559    function bp_get_friends_root_slug() {
  • trunk/src/bp-friends/classes/class-bp-friends-friendship.php

    r10417 r10424  
    8686     * Constructor method.
    8787     *
    88      * @param int  $id                      Optional. The ID of an existing friendship.
    89      * @param bool $is_request              Deprecated.
    90      * @param bool $populate_friend_details True if friend details should be queried.
     88     * @param int|null $id                      Optional. The ID of an existing friendship.
     89     * @param bool     $is_request              Deprecated.
     90     * @param bool     $populate_friend_details True if friend details should be queried.
    9191     */
    9292    public function __construct( $id = null, $is_request = false, $populate_friend_details = true ) {
     
    297297     * Search the friends of a user by a search string.
    298298     *
    299      * @param string $filter  The search string, matched against xprofile
     299     * @param string   $filter  The search string, matched against xprofile
    300300     *                        fields (if available), or usermeta 'nickname' field.
    301      * @param int    $user_id ID of the user whose friends are being searched.
    302      * @param int    $limit   Optional. Max number of friends to return.
    303      * @param int    $page    Optional. The page of results to return. Default:
    304      *                        null (no pagination - return all results).
     301     * @param int      $user_id ID of the user whose friends are being searched.
     302     * @param int|null $limit   Optional. Max number of friends to return.
     303     * @param int|null $page    Optional. The page of results to return. Default:
     304     *                          null (no pagination - return all results).
    305305     *
    306306     * @return array|bool On success, an array: {
     
    478478     * @todo Why does this exist, and why is it in bp-friends?
    479479     *
    480      * @param string $filter  String to search by.
    481      * @param int    $user_id A user ID param that is unused.
    482      * @param int    $limit   Optional. Max number of records to return.
    483      * @param int    $page    Optional. Number of the page to return. Default:
    484      *                        false (no pagination - return all results).
     480     * @param string   $filter  String to search by.
     481     * @param int      $user_id A user ID param that is unused.
     482     * @param int|null $limit   Optional. Max number of records to return.
     483     * @param int|null $page    Optional. Number of the page to return. Default:
     484     *                          false (no pagination - return all results).
    485485     * @return array $filtered_ids IDs of users who match the query.
    486486     */
Note: See TracChangeset for help on using the changeset viewer.