Skip to content

Commit

Permalink
TMS-942: phpcs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Nov 30, 2023
1 parent 8c878ea commit ef7369e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Formatters/ContactFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ public function map_keys( array $posts, array $field_keys, $default_image = null
} );

// Remove whitespaces from phone_number to use on the href
foreach( $fields['phone_repeater'] as $i => $single_phone ) {
$fields['phone_repeater'][$i]['trimmed_number'] = str_replace( ' ', '', $single_phone['phone_number'] );
foreach ( $fields['phone_repeater'] as $i => $single_phone ) {
$fields['phone_repeater'][ $i ]['trimmed_number'] = str_replace( ' ', '', $single_phone['phone_number'] );
}
}

Expand Down

0 comments on commit ef7369e

Please sign in to comment.