Fix PHPCS lint error: short array syntax

This commit is contained in:
Saad Tarhi 2023-01-16 09:57:06 +01:00
parent 728ba16b35
commit 4059fbb33b
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ class FeaturesController {
return $features[ $feature_id ]['is_experimental'];
}
);
$mature_feature_ids = array_diff( $feature_ids, $experimental_feature_ids, [ 'cart_checkout_blocks' ] );
$mature_feature_ids = array_diff( $feature_ids, $experimental_feature_ids, array( 'cart_checkout_blocks' ) );
$feature_ids = array_merge( $mature_feature_ids, array( 'mature_features_end' ), $experimental_feature_ids );
foreach ( $feature_ids as $id ) {