Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/02/2024 01:06:10 AM (5 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/bp-core-functions.php

    r13882 r13890  
    10111011 *
    10121012 * @param string   $component The component ID.
    1013  * @return boolean            True if a component's directory is set as the site's homepage.
     1013 * @return bool            True if a component's directory is set as the site's homepage.
    10141014 *                            False otherwise.
    10151015 */
     
    24912491 * @see load_textdomain() for a description of return values.
    24922492 *
    2493  * @return bool True on success, false on failure.
     2493 * @return bool
    24942494 */
    24952495function bp_core_load_buddypress_textdomain() {
     
    30573057 *
    30583058 * @param string $ajax_action The ajax action needing the BP URI globals to be set.
    3059  * @return boolean            True if the ajax action was registered. False otherwise.
     3059 * @return bool            True if the ajax action was registered. False otherwise.
    30603060 */
    30613061function bp_ajax_register_action( $ajax_action = '' ) {
     
    30753075 *
    30763076 * @param string $ajax_action The ajax action to check.
    3077  * @return boolean            True if the ajax action is registered. False otherwise
     3077 * @return bool            True if the ajax action is registered. False otherwise
    30783078 */
    30793079function bp_ajax_action_is_registered( $ajax_action = '' ) {
     
    34623462 * @param  string  $taxonomy   The BP Type taxonomy.
    34633463 * @param  array   $type_metas An associative array (meta_key=>meta_value).
    3464  * @return boolean             False on failure. True otherwise.
     3464 * @return bool             False on failure. True otherwise.
    34653465 */
    34663466function bp_update_type_metadata( $type_id = 0, $taxonomy = '', $type_metas = array() ) {
     
    48024802 *
    48034803 * @param int $id ID of the optout to delete.
    4804  * @return bool True on success, false on failure.
     4804 * @return bool
    48054805 */
    48064806function bp_delete_optout_by_id( $id = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.