Skip to:
Content

BuddyPress.org

Changeset 10425


Ignore:
Timestamp:
12/22/2015 05:41:48 AM (5 years ago)
Author:
tw2113
Message:

Scrutinizr feedback cleanup.

See #6398.

Location:
trunk/src/bp-core
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-attachments.php

    r10417 r10425  
    10701070 *     @type string $cover_image_dir The Cover image dir to write the image into. Required.
    10711071 * }
    1072  * @param BP_Attachment_Cover_Image $cover_image_class The class to use to fit the cover image.
     1072 * @param BP_Attachment_Cover_Image|null $cover_image_class The class to use to fit the cover image.
    10731073 * @return bool|array An array containing cover image data on success, false otherwise.
    10741074 */
  • trunk/src/bp-core/bp-core-functions.php

    r10417 r10425  
    25602560 * @uses  wp_upload_dir()
    25612561 * @uses  restore_current_blog()
     2562 *
     2563 * @return string
    25622564 */
    25632565function bp_upload_dir() {
  • trunk/src/bp-core/bp-core-template-loader.php

    r10417 r10425  
    2424 * @uses get_template_part()
    2525 *
    26  * @param string $slug Template part slug. Used to generate filenames,
    27  *                     eg 'friends' for 'friends.php'.
    28  * @param string $name Optional. Template part name. Used to generate
    29  *                     secondary filenames, eg 'personal' for 'activity-personal.php'.
     26 * @param string      $slug Template part slug. Used to generate filenames,
     27 *                          eg 'friends' for 'friends.php'.
     28 * @param string|null $name Optional. Template part name. Used to generate
     29 *                          secondary filenames, eg 'personal' for 'activity-personal.php'.
    3030 * @return string Path to located template. See {@link bp_locate_template()}.
    3131 */
     
    256256 * @see bp_get_template_part() for a description of $slug and $name params.
    257257 *
    258  * @param string $slug See {@link bp_get_template_part()}.
    259  * @param string $name See {@link bp_get_template_part()}.
    260  * @param bool   $echo If true, template content will be echoed. If false,
    261  *                     returned. Default: true.
     258 * @param string      $slug See {@link bp_get_template_part()}.
     259 * @param string|null $name See {@link bp_get_template_part()}.
     260 * @param bool        $echo If true, template content will be echoed. If false,
     261 *                          returned. Default: true.
    262262 * @return string|null If $echo, returns the template content.
    263263 */
     
    372372 *
    373373 * @param array $stacks Array of template locations.
    374  * @return array() Array of all template locations registered so far.
     374 * @return array Array of all template locations registered so far.
    375375 */
    376376function bp_add_template_stack_locations( $stacks = array() ) {
  • trunk/src/bp-core/bp-core-template.php

    r10417 r10425  
    312312     *
    313313     * @since 1.6.0
     314     *
     315     * @return string
    314316     */
    315317    function bp_get_site_name() {
  • trunk/src/bp-core/classes/class-bp-core-user.php

    r10417 r10425  
    445445     * @global wpdb $wpdb WordPress database object.
    446446     *
    447      * @param string $letter          The letter the users names are to start with.
    448      * @param int    $limit           The number of users we wish to retrive.
    449      * @param int    $page            The page number we are currently on, used in conjunction
    450      *                                with $limit to get the start position for the limit.
    451      * @param bool   $populate_extras If we should populate extra user fields.
    452      * @param string $exclude         Comma-separated IDs of users whose results
    453      *                                aren't to be fetched.
     447     * @param string   $letter          The letter the users names are to start with.
     448     * @param int|null $limit           The number of users we wish to retrive.
     449     * @param int      $page            The page number we are currently on, used in conjunction
     450     *                                  with $limit to get the start position for the limit.
     451     * @param bool     $populate_extras If we should populate extra user fields.
     452     * @param string   $exclude         Comma-separated IDs of users whose results
     453     *                                  aren't to be fetched.
    454454     * @return mixed False on error, otherwise associative array of results.
    455455     */
     
    532532     * @global wpdb $wpdb WordPress database object.
    533533     *
    534      * @param array $user_ids        The user IDs of the users who we wish to
    535      *                               fetch information on.
    536      * @param int  $limit           The limit of results we want.
    537      * @param int   $page            The page we are on for pagination.
    538      * @param bool  $populate_extras If we should populate extra user fields.
     534     * @param array    $user_ids        The user IDs of the users who we wish to
     535     *                                  fetch information on.
     536     * @param int|null $limit           The limit of results we want.
     537     * @param int      $page            The page we are on for pagination.
     538     * @param bool     $populate_extras If we should populate extra user fields.
    539539     * @return array Associative array.
    540540     */
     
    627627     * @global wpdb $wpdb WordPress database object.
    628628     *
    629      * @param string  $search_terms    The terms to search the profile table
    630      *                                 value column for.
    631      * @param int    $limit           The limit of results we want.
    632      * @param int     $page            The page we are on for pagination.
    633      * @param boolean $populate_extras If we should populate extra user fields.
     629     * @param string   $search_terms    The terms to search the profile table
     630     *                                  value column for.
     631     * @param int|null $limit           The limit of results we want.
     632     * @param int      $page            The page we are on for pagination.
     633     * @param boolean  $populate_extras If we should populate extra user fields.
    634634     * @return array Associative array.
    635635     */
  • trunk/src/bp-core/classes/class-bp-user-query.php

    r10417 r10425  
    144144     * @since 1.7.0
    145145     *
    146      * @param string|array $query See {@link BP_User_Query}.
     146     * @param string|array|null $query See {@link BP_User_Query}.
    147147     */
    148148    public function __construct( $query = null ) {
Note: See TracChangeset for help on using the changeset viewer.