Skip to content

Commit 2184ea8

Browse files
committed
Use old array syntax
1 parent 7fe8f1a commit 2184ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ public function columns( $args, $assoc_args ) {
11611161

11621162
$format = WP_CLI\Utils\get_flag_value( $assoc_args, 'format' );
11631163

1164-
WP_CLI\Utils\wp_get_table_names( [ $args[0] ], [] );
1164+
WP_CLI\Utils\wp_get_table_names( array( $args[0] ), array() );
11651165

11661166
// Get the database size.
11671167
$columns = $wpdb->get_results(

0 commit comments

Comments
 (0)