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-groups/classes/class-bp-groups-member.php

    r13469 r13890  
    256256     * @since 1.6.0
    257257     *
    258      * @return bool True on success, false on failure.
     258     * @return bool
    259259     */
    260260    public function save() {
     
    330330     *
    331331     * @param string $status The new status. 'mod' or 'admin'.
    332      * @return bool True on success, false on failure.
     332     * @return bool
    333333     */
    334334    public function promote( $status = 'mod' ) {
     
    353353     * @since 1.6.0
    354354     *
    355      * @return bool True on success, false on failure.
     355     * @return bool
    356356     */
    357357    public function demote() {
     
    368368     * @since 1.6.0
    369369     *
    370      * @return bool True on success, false on failure.
     370     * @return bool
    371371     */
    372372    public function ban() {
     
    385385     * @since 1.6.0
    386386     *
    387      * @return bool True on success, false on failure.
     387     * @return bool
    388388     */
    389389    public function unban() {
     
    422422     * @since 1.6.0
    423423     *
    424      * @return bool True on success, false on failure.
     424     * @return bool
    425425     */
    426426    public function remove() {
     
    491491     * @param int $user_id  ID of the user.
    492492     * @param int $group_id ID of the group.
    493      * @return bool True on success, false on failure.
     493     * @return bool
    494494     */
    495495    public static function delete( $user_id, $group_id ) {
     
    11321132     *
    11331133     * @param array $group_ids IDs of the groups.
    1134      * @return bool True on success.
     1134     * @return bool
    11351135     */
    11361136    public static function prime_group_admins_mods_cache( $group_ids ) {
Note: See TracChangeset for help on using the changeset viewer.