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/bp-core-rest-api.php

    r13296 r13890  
    1616 * @since 5.0.0
    1717 *
    18  * @return boolean True if the BP REST plugin is active. False otherwise.
     18 * @return bool True if the BP REST plugin is active. False otherwise.
    1919 */
    2020function bp_rest_is_plugin_active() {
     
    4444 * @since 5.0.0
    4545 *
    46  * @return boolean True if the BP REST API is available. False otherwise.
     46 * @return bool True if the BP REST API is available. False otherwise.
    4747 */
    4848function bp_rest_api_is_available() {
     
    221221 *
    222222 * @param  mixed $value Mixed value.
    223  * @return WP_Error|boolean
     223 * @return WP_Error|bool
    224224 */
    225225function bp_rest_validate_member_types( $value ) {
     
    319319 *
    320320 * @param int $user_id Supplied user ID.
    321  * @return WP_User|boolean
     321 * @return WP_User|bool
    322322 */
    323323function bp_rest_get_user( $user_id ) {
Note: See TracChangeset for help on using the changeset viewer.