From 37389f8398b0e93a1c72390faf7f1530df0a83fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=BDoljom?= Date: Mon, 18 Sep 2023 15:19:57 +0200 Subject: [PATCH] Fix phpcs violation in the ruleset helper --- WordPress/Helpers/RulesetPropertyHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPress/Helpers/RulesetPropertyHelper.php b/WordPress/Helpers/RulesetPropertyHelper.php index 2722df6ea..2eac54b19 100644 --- a/WordPress/Helpers/RulesetPropertyHelper.php +++ b/WordPress/Helpers/RulesetPropertyHelper.php @@ -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 ); }