Skip to:
Content

BuddyPress.org

Changeset 10712


Ignore:
Timestamp:
04/17/2016 12:24:44 AM (9 years ago)
Author:
tw2113
Message:

Revisited Scrutinizer and fixed some items it found.

Location:
trunk/src
Files:
6 edited

Legend:

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

    r10646 r10712  
    10641064     * @since 1.1.0
    10651065     *
    1066      * @param BP_Activity_Activity $content_exists ID of the activity if found, else null.
     1066     * @param BP_Activity_Activity $value ID of the activity if found, else null.
    10671067     */
    10681068    return apply_filters( 'bp_activity_check_exists_by_content', BP_Activity_Activity::check_exists_by_content( $content ) );
     
    23052305 * @since 2.5.0
    23062306 *
    2307  * @param  int  $comment_id  ID of the comment.
    2308  * @param  bool $is_approved Whether the comment is approved or not.
    2309  * @param  object $activity_post_object the post type tracking args object.
    2310  *
     2307 * @param  int         $comment_id           ID of the comment.
     2308 * @param  bool        $is_approved          Whether the comment is approved or not.
     2309 * @param  object|null $activity_post_object The post type tracking args object.
    23112310 * @return int|bool The ID of the activity on success. False on error.
    23122311 */
     
    24982497 * @since 2.5.0
    24992498 *
    2500  * @param  int    $comment_id           ID of the comment.
    2501  * @param  object $activity_post_object The post type tracking args object.
    2502  *
     2499 * @param  int         $comment_id           ID of the comment.
     2500 * @param  object|null $activity_post_object The post type tracking args object.
    25032501 * @return bool True on success. False on error.
    25042502 */
  • trunk/src/bp-blogs/bp-blogs-functions.php

    r10632 r10712  
    564564 * @since  2.5.0
    565565 *
    566  * @param  int|bool   $activity_id          ID of recorded activity, or false if sync is active.
    567  * @param  WP_Comment $comment              The comment object.
    568  * @param  array      $activity_args        Array of activity arguments.
    569  * @param  object     $activity_post_object The post type tracking args object.
    570  * @return int|bool   Returns false if no activity, the activity id otherwise.
     566 * @param  int|bool        $activity_id          ID of recorded activity, or false if sync is active.
     567 * @param  WP_Comment|null $comment              The comment object.
     568 * @param  array           $activity_args        Array of activity arguments.
     569 * @param  object|null     $activity_post_object The post type tracking args object.
     570 * @return int|bool Returns false if no activity, the activity id otherwise.
    571571 */
    572572function bp_blogs_comment_sync_activity_comment( &$activity_id, $comment = null, $activity_args = array(), $activity_post_object = null ) {
  • trunk/src/bp-blogs/bp-blogs-template.php

    r10682 r10712  
    11421142 * @param string       $user_email The email of the user who created the blog. Unused.
    11431143 * @param string|array $meta       Meta values associated with the new blog. Unused.
    1144  * @param int          $blog_id    ID of the newly created blog.
     1144 * @param int|null     $blog_id    ID of the newly created blog.
    11451145 */
    11461146function bp_blogs_confirm_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = '', $blog_id = null ) {
  • trunk/src/bp-forums/bp-forums-template.php

    r10417 r10712  
    18151815     *
    18161816     * @todo Deprecate? Seems unused
     1817     *
     1818     * @return bool|string
    18171819     */
    18181820    function bp_get_forums_tag_name() {
  • trunk/src/bp-members/classes/class-bp-members-list-table.php

    r10711 r10712  
    335335     * @since 2.0.0
    336336     *
    337      * @param object $signup_object The signup data object.
     337     * @param object|null $signup_object The signup data object.
    338338     */
    339339    public function column_name( $signup_object = null ) {
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r10652 r10712  
    116116 * @since 1.0.0
    117117 *
    118  * @param array|string $class Extra classes to append to class attribute.
    119  *                            Pass mutiple class names as an array or
    120  *                            space-delimited string.
    121  *
     118 * @param array|string|false $class Extra classes to append to class attribute.
     119 *                                  Pass mutiple class names as an array or
     120 *                                  space-delimited string.
    122121 * @return string
    123122 */
Note: See TracChangeset for help on using the changeset viewer.