Fix PHPCS lint error: short array syntax
This commit is contained in:
parent
728ba16b35
commit
4059fbb33b
|
@ -540,7 +540,7 @@ class FeaturesController {
|
||||||
return $features[ $feature_id ]['is_experimental'];
|
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 );
|
$feature_ids = array_merge( $mature_feature_ids, array( 'mature_features_end' ), $experimental_feature_ids );
|
||||||
|
|
||||||
foreach ( $feature_ids as $id ) {
|
foreach ( $feature_ids as $id ) {
|
||||||
|
|
Loading…
Reference in New Issue