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-core/deprecated/1.9.php

    r12547 r13890  
    2727 * @param false|string $date_notified
    2828 * @param int          $is_new
    29  * @return int|boolean True on success, false on failure.
     29 * @return int|bool True on success, false on failure.
    3030 */
    3131function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false, $is_new = 1 ) {
     
    112112 * @param int $user_id ID of user.
    113113 * @param string $format
    114  * @return boolean Object or array on success, false on failure.
     114 * @return bool Object or array on success, false on failure.
    115115 */
    116116function bp_core_get_notifications_for_user( $user_id, $format = 'string' ) {
     
    197197 * @param string       $component_name
    198198 * @param false|string $component_action
    199  * @return boolean True on success, false on failure.
     199 * @return bool
    200200 */
    201201function bp_core_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) {
     
    252252 * @param int $user_id
    253253 * @param int $notification_id
    254  * @return boolean True on success, false on failure.
     254 * @return bool
    255255 */
    256256function bp_core_check_notification_access( $user_id, $notification_id ) {
Note: See TracChangeset for help on using the changeset viewer.