Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/04/2017 06:26:55 PM (8 years ago)
Author:
tw2113
Message:

Cleanup from recent Scrutinizer review around documentation and param/return types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-activity.php

    r11414 r11447  
    4949 * @param object|null $params    Tracking arguments.
    5050 * @param string|int  $post_type Post type to track.
    51  * @return object
     51 * @return object|null
    5252 */
    5353function bp_blogs_register_post_tracking_args( $params = null, $post_type = 0 ) {
     
    436436 *     @type string $component Default: 'blogs'.
    437437 * }
    438  * @return int|bool On success, returns the activity ID. False on failure.
     438 * @return WP_Error|bool|int On success, returns the activity ID. False on failure.
    439439 */
    440440function bp_blogs_record_activity( $args = '' ) {
Note: See TracChangeset for help on using the changeset viewer.