Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/20/2026 01:08:54 PM (7 weeks ago)
Author:
espellcaste
Message:

Docs: Use the bool and int short type forms in PHPDoc.

The PHP inline documentation standards call for bool and int in @param and @return tags.

See #9173.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/classes/class-bp-activity-rest-controller.php

    r14045 r14285  
    11781178         *
    11791179         * @param  WP_REST_Request $request Full details about the request.
    1180          * @return boolean
     1180         * @return bool
    11811181         */
    11821182        protected function can_see( $request ) {
    … …  
    11941194         * @param  string $component The component the activity is from.
    11951195         * @param  int    $item_id   The activity item ID.
    1196          * @return boolean
     1196         * @return bool
    11971197         */
    11981198        protected function show_hidden( $component, $item_id ) {
Note: See TracChangeset for help on using the changeset viewer.