Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/02/2024 01:06:10 AM (6 months ago)
Author:
espellcaste
Message:

PHPDoc: remove superfluous comments from boolean returns.

See #9164

File:
1 edited

Legend:

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

    r13503 r13890  
    2929 *                               When true, running friends_add_friend() will result in an accepted
    3030 *                               friendship, with no notifications being sent. Default: false.
    31  * @return bool True on success, false on failure.
     31 * @return bool
    3232 */
    3333function friends_add_friend( $initiator_userid, $friend_userid, $force_accept = false ) {
     
    9797 * @param int $initiator_userid ID of the friendship initiator.
    9898 * @param int $friend_userid    ID of the friend user.
    99  * @return bool True on success, false on failure.
     99 * @return bool
    100100 */
    101101function friends_remove_friend( $initiator_userid, $friend_userid ) {
     
    157157 *
    158158 * @param int $friendship_id ID of the pending friendship object.
    159  * @return bool True on success, false on failure.
     159 * @return bool
    160160 */
    161161function friends_accept_friendship( $friendship_id ) {
     
    194194 *
    195195 * @param int $friendship_id ID of the pending friendship object.
    196  * @return bool True on success, false on failure.
     196 * @return bool
    197197 */
    198198function friends_reject_friendship( $friendship_id ) {
     
    225225 *                              user who requested the friendship, and is doing the withdrawing.
    226226 * @param int $friend_userid    ID of the requested friend.
    227  * @return bool True on success, false on failure.
     227 * @return bool
    228228 */
    229229function friends_withdraw_friendship( $initiator_userid, $friend_userid ) {
Note: See TracChangeset for help on using the changeset viewer.