Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/04/2017 06:26:55 PM (7 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-core/bp-core-wpabstraction.php

    r10899 r11447  
    2424 * @global string $wp_version
    2525 *
    26  * @return string $wp_version
     26 * @return double $wp_version
    2727 */
    2828function bp_get_major_wp_version() {
     
    161161         * @param int  $user_id ID of the user. Not used.
    162162         * @param bool $all     Whether or not to return all. Not used.
    163          * @return false
     163         * @return bool
    164164         */
    165165        function get_blogs_of_user( $user_id, $all = false ) {
     
    181181         * @param string $value      Value. Not used.
    182182         * @param null   $deprecated Whether or not deprecated. Not used.
    183          * @return true
     183         * @return bool
    184184         */
    185185        function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) {
     
    267267     * @param int    $offset Optional. Start position for the search. Default: 0.
    268268     * @param string $encoding Optional. Encoding type. Ignored.
    269      * @return int|bool Position of needle in haystack if found, else false.
     269     * @return int|false Position of needle in haystack if found, else false.
    270270     */
    271271    function mb_strpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
     
    292292     * @param int    $offset Optional. Start position for the search. Default: 0.
    293293     * @param string $encoding Optional. Encoding type. Ignored.
    294      * @return int Position of last needle in haystack if found, else false.
     294     * @return string|false Position of last needle in haystack if found, else false.
    295295     */
    296296    function mb_strrpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
Note: See TracChangeset for help on using the changeset viewer.