Skip to content

Commit

Permalink
Fix phpcs violation in the ruleset helper
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo-d committed Sep 18, 2023
1 parent af15790 commit 37389f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WordPress/Helpers/RulesetPropertyHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ final class RulesetPropertyHelper {
*/
public static function merge_custom_array( $custom, array $base = array(), $flip = true, $lowercaseKeyValues = false ) {
if ( $lowercaseKeyValues ) {
$base = array_map( 'strtolower', $base );
$base = array_map( 'strtolower', $base );
$custom = array_map( 'strtolower', $custom );
$base = array_change_key_case( $base );
$base = array_change_key_case( $base );
$custom = array_change_key_case( $custom );
}

Expand Down

0 comments on commit 37389f8

Please sign in to comment.