Skip to:
Content

BuddyPress.org

Changeset 10488


Ignore:
Timestamp:
02/01/2016 06:59:04 PM (9 years ago)
Author:
djpaul
Message:

Static function declaration should come after the visibility declaration.

As per PSR2.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-phpmailer.php

    r10470 r10488  
    150150     * @return string
    151151     */
    152     static public function get_hostname() {
     152    public static function get_hostname() {
    153153        if ( is_multisite() ) {
    154154            return get_current_site()->domain;  // From fix_phpmailer_messageid()
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-group.php

    r9819 r10488  
    10361036 */
    10371037class _BP_Groups_Group extends BP_Groups_Group {
    1038     static public function _convert_type_to_order_orderby( $type ) {
     1038    public static function _convert_type_to_order_orderby( $type ) {
    10391039        return self::convert_type_to_order_orderby( $type );
    10401040    }
    10411041
    1042     static public function _convert_orderby_to_order_by_term( $term ) {
     1042    public static function _convert_orderby_to_order_by_term( $term ) {
    10431043        return self::convert_orderby_to_order_by_term( $term );
    10441044    }
Note: See TracChangeset for help on using the changeset viewer.