Skip to:
Content

BuddyPress.org


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

Scrutinizr feedback cleanup.

See #6400.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.