Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (18 months ago)
Author:
espellcaste
Message:

WPCS: The modified code addresses all Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword and Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction issues specific to the foreach and function examples.

See #7228

File:
1 edited

Legend:

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

    r11112 r13878  
    7070        // Render attributes.
    7171        $attributes = '';
    72         foreach( (array) $r['attr'] as $attr => $val ) {
     72        foreach ( (array) $r['attr'] as $attr => $val ) {
    7373            // If attribute is empty, skip.
    7474            if ( empty( $val ) ) {
Note: See TracChangeset for help on using the changeset viewer.