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-xprofile/bp-xprofile-functions.php

    r13882 r13890  
    5656 *    @type bool        $can_delete     Whether or not the field group can be deleted.
    5757 * }
    58  * @return boolean
     58 * @return bool
    5959 */
    6060function xprofile_insert_field_group( $args = '' ) {
     
    114114 *
    115115 * @param int $field_group_id Field group ID to delete.
    116  * @return boolean
     116 * @return bool
    117117 */
    118118function xprofile_delete_field_group( $field_group_id = 0 ) {
     
    137137 * @param int $field_group_id Field group ID to update.
    138138 * @param int $position       Field group position to update to.
    139  * @return boolean
     139 * @return bool
    140140 */
    141141function xprofile_update_field_group_position( $field_group_id = 0, $position = 0 ) {
     
    428428 * @param mixed      $value       The value for the field you want to set for the user.
    429429 * @param bool       $is_required Whether or not the field is required.
    430  * @return bool True on success, false on failure.
     430 * @return bool
    431431 */
    432432function xprofile_set_field_data( $field, $user_id, $value, $is_required = false ) {
     
    538538 * @param int    $user_id          The ID of the user to whom the data belongs.
    539539 * @param string $visibility_level What the visibility setting should be.
    540  * @return bool True on success
     540 * @return bool
    541541 */
    542542function xprofile_set_field_visibility_level( $field_id = 0, $user_id = 0, $visibility_level = '' ) {
     
    976976 *                                 delete matching metadata entries for the specified object.
    977977 *                                 Default: false.
    978  * @return bool True on success, false on failure.
     978 * @return bool
    979979 */
    980980function bp_xprofile_delete_meta( $object_id, $object_type, $meta_key = false, $meta_value = false, $delete_all = false ) {
Note: See TracChangeset for help on using the changeset viewer.