From b0bba8c85384ecda65ff1d3fe2f90d01c3e21dd2 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 28 Apr 2017 17:09:39 +0100 Subject: [PATCH] Remove array merge --- includes/cli/class-wc-cli-runner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/cli/class-wc-cli-runner.php b/includes/cli/class-wc-cli-runner.php index 7d8a2dc402e..de689708d03 100644 --- a/includes/cli/class-wc-cli-runner.php +++ b/includes/cli/class-wc-cli-runner.php @@ -101,7 +101,7 @@ class WC_CLI_Runner { 'zone_id' => __( 'Zone ID.', 'woocommerce' ), ); $rest_command->set_supported_ids( $supported_ids ); - $positional_args = array_merge( array( 'id' ), array_keys( $supported_ids ) ); + $positional_args = array_keys( $supported_ids ); $parent = "wc {$route_data['schema']['title']}"; $supported_commands = array();